Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ea1e2d

Browse files
authored
docs: Fix typo (#463)
1 parent 36c051b commit 0ea1e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

strum/src/additional_attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
//! this specifies what text to use when calling `variant.to_string()` with the `Display` derivation, or when calling `variant.as_ref()` with `AsRefStr`.
6262
//!
6363
//! - `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>`.
6565
//! The generated code will now return the variant with the input string captured as shown below
6666
//! instead of failing.
6767
//!

0 commit comments

Comments
 (0)