You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ pub(crate) use syn::{
44
44
///
45
45
/// # Supported Attributes
46
46
/// - `#[get(pub)]` - Generates a public getter with reference return type
47
-
/// - `#[get(pub, reference)]` - Generates a public getter that returns a reference (`&T`)
47
+
/// - `#[get(pub)]` - Generates a public getter that returns a reference (`&T`)
48
48
/// - `#[get(pub, clone)]` - Generates a public getter that returns a cloned value (`T`)
49
49
/// - `#[get(pub, copy)]` - Generates a public getter that returns a copy of the field value (`self.field`) for Copy types
50
50
/// - `#[get(pub, deref)]` - Generates a public getter that returns a dereferenced value (`*field`) with enhanced match control for Option/Result types
0 commit comments