From 9b9f33c4f7dbda938339d9235fc0a9ca7f03d9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 5 Nov 2024 20:41:04 +0100 Subject: [PATCH] Some doc fixes --- src/tags/mod.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/tags/mod.rs b/src/tags/mod.rs index 259dd71..eadede8 100644 --- a/src/tags/mod.rs +++ b/src/tags/mod.rs @@ -159,14 +159,14 @@ where pub struct TagKey(String); helpers::impl_string_wrapper!(TagKey); -/// A tag generic over it's containing value type. +/// A tag generic over its containing value type. /// /// There are two ways to construct a `Tag`: /// /// * You already have a `T`: Just use [`new()`](Self::new()) -/// ```rust -/// use aws::tags::Tag; /// +/// ```rust +/// # use aws::tags::Tag; /// let tag = Tag::::new("foo".to_owned(), true); /// ``` /// @@ -176,8 +176,7 @@ helpers::impl_string_wrapper!(TagKey); /// for `String`: /// /// ```rust -/// use aws::tags::Tag; -/// +/// # use aws::tags::Tag; /// let tag = Tag::::parse("foo".to_owned(), "true".to_owned()).unwrap(); /// ``` ///