chore: Remove redundant conversion
This commit is contained in:
parent
fffc4fcf96
commit
603955f542
1 changed files with 1 additions and 1 deletions
|
|
@ -818,7 +818,7 @@ impl From<u8> for ExitCode {
|
|||
|
||||
impl From<u32> for ExitCode {
|
||||
fn from(code: u32) -> Self {
|
||||
ExitCode(u32::from(code))
|
||||
ExitCode(code)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue