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: strum/src/additional_attributes.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@
61
61
//! this specifies what text to use when calling `variant.to_string()` with the `Display` derivation, or when calling `variant.as_ref()` with `AsRefStr`.
62
62
//!
63
63
//! - `default`: Applied to a single variant of an enum. The variant must be a Tuple-like
64
-
//! variant with a single piece of data that can be create from a `&str` i.e. `T: From<&str>`.
64
+
//! variant with a single piece of data that can be created from a `&str` i.e. `T: From<&str>`.
65
65
//! The generated code will now return the variant with the input string captured as shown below
0 commit comments