Doc example not passing
Build Successful The build was successful
Gitea/epoch_forge/pipeline/head This commit looks good
Details
Build Successful The build was successful
Gitea/epoch_forge/pipeline/head This commit looks good
Details
This commit is contained in:
parent
6e593f8ac9
commit
de70b6e440
|
|
@ -431,6 +431,8 @@ impl FromStr for FactionId {
|
|||
/// …). You can optionally provide an extra list of derives – e.g. `Add`,
|
||||
/// `Sub`, `FromStr`, or any custom derive – by writing:
|
||||
/// ```
|
||||
/// # use lib_efo::thin_newtype;
|
||||
/// use derive_more::{Add, Sub};
|
||||
/// thin_newtype!(MyInt, i32, derives: [Add, Sub]);
|
||||
/// ```
|
||||
/// (you’ll need the corresponding crates – e.g. `derive_more` for `Add`, `Sub`).
|
||||
|
|
|
|||
Loading…
Reference in New Issue