Doc example not passing
Build Successful The build was successful
Gitea/epoch_forge/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2025-12-14 03:40:41 +01:00
parent 6e593f8ac9
commit de70b6e440
1 changed files with 2 additions and 0 deletions

View File

@ -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`).