Skip to content

Commit 50576b4

Browse files
committed
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 f25d523 commit 50576b4

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)