Skip to content

Commit e40026e

Browse files
Skglandsyphar
authored andcommitted
mark Unknown variant as hidden
to discourage explicitly matching this variant explicitly. As the enum is non_exhaustive a wildcard pattern is required anyway.
1 parent e0551fe commit e40026e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prepare.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ pub enum PrepareError {
391391
#[error("the crate depends on missing dependencies: \n\n{0}")]
392392
MissingDependencies(String),
393393
/// Some not further detaild error
394+
#[doc(hidden)]
394395
#[error("prepare failed without further details")]
395396
Unknown,
396397
}

0 commit comments

Comments
 (0)