enable rust_2018_idioms
for doctests
Signed-off-by: ozkanonur <work@onurozkan.dev>
This commit is contained in:
parent
8b8110e146
commit
4e7c14fe9f
37 changed files with 125 additions and 101 deletions
|
@ -1835,7 +1835,7 @@ impl ExitCode {
|
|||
/// # use std::fmt;
|
||||
/// # enum UhOhError { GenericProblem, Specific, WithCode { exit_code: ExitCode, _x: () } }
|
||||
/// # impl fmt::Display for UhOhError {
|
||||
/// # fn fmt(&self, _: &mut fmt::Formatter) -> fmt::Result { unimplemented!() }
|
||||
/// # fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result { unimplemented!() }
|
||||
/// # }
|
||||
/// // there's no way to gracefully recover from an UhOhError, so we just
|
||||
/// // print a message and exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue