We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a184786 commit 5bbacb0Copy full SHA for 5bbacb0
crates/newtype-uuid-macros/src/lib.rs
@@ -163,7 +163,7 @@ use quote::ToTokens;
163
/// - `attrs`: A list of attributes to apply to all generated `JsonSchema`
164
/// implementations. For example, if `schemars` is an optional dependency
165
/// for the crate where the macro is being invoked, you might specify something
166
-/// like `[#cfg(feature = "schemars")]`.
+/// like `[#[cfg(feature = "schemars")]]`.
167
/// - `rust_type`: If defined, adds the `x-rust-type` extension to the schema,
168
/// enabling automatic replacement with [`typify`] and other tools that
169
/// support it. *Optional, defaults to not adding the extension.*
0 commit comments