Skip to content

Commit 05ba52f

Browse files
author
Anish Cheraku
committed
added a doc comment for Arn::parse()
1 parent b1a3899 commit 05ba52f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sources/api/apiclient/src/uri_resolver.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ struct Arn {
3232
}
3333

3434
impl Arn {
35+
/// Parse an ARN of the form:
36+
/// arn:aws:<service>:<region>:<account>:<resource…>
3537
fn parse(input: &str) -> ResolverResult<Self> {
3638
use resolver_error::InvalidArnFormatSnafu;
3739
ensure!(

0 commit comments

Comments
 (0)