Skip to content

Commit 5bbacb0

Browse files
committed
fix syntax
Created using spr 1.3.6-beta.1
1 parent a184786 commit 5bbacb0

File tree

1 file changed

+1
-1
lines changed
  • crates/newtype-uuid-macros/src

1 file changed

+1
-1
lines changed

crates/newtype-uuid-macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ use quote::ToTokens;
163163
/// - `attrs`: A list of attributes to apply to all generated `JsonSchema`
164164
/// implementations. For example, if `schemars` is an optional dependency
165165
/// for the crate where the macro is being invoked, you might specify something
166-
/// like `[#cfg(feature = "schemars")]`.
166+
/// like `[#[cfg(feature = "schemars")]]`.
167167
/// - `rust_type`: If defined, adds the `x-rust-type` extension to the schema,
168168
/// enabling automatic replacement with [`typify`] and other tools that
169169
/// support it. *Optional, defaults to not adding the extension.*

0 commit comments

Comments
 (0)