We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non_exhaustive
1 parent 79d0b45 commit b4fbd70Copy full SHA for b4fbd70
1 file changed
src/args/threads.rs
@@ -17,6 +17,7 @@ pub enum Threads {
17
18
/// Error that occurs when converting a string to an instance of [`Threads`].
19
#[derive(Debug, Display, Clone, PartialEq, Eq, Error)]
20
+#[non_exhaustive]
21
pub enum FromStrError {
22
#[display("Value is neither {AUTO:?}, {MAX:?}, nor a number: {_0}")]
23
InvalidSyntax(ParseIntError),
0 commit comments