diff --git a/src/lib.rs b/src/lib.rs index 40d8f7e..973f14a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -95,10 +95,11 @@ //! //! // In the user's source code: //! +//! let name = IString::Static("age"); //! let age = IString::from(20.to_string()); -//! // `age` is implicitly cloned to the 2 different inputs -//! let input1 = html_input!(); -//! let input2 = html_input!(); +//! // `name` and `age` are implicitly cloned to the 2 different inputs +//! let input1 = html_input!(); +//! let input2 = html_input!(); //! //! assert_eq!(input1.to_string(), r#""#); //! assert_eq!(input2.to_string(), r#""#);