Fix clippy: Remove unecessary ? and Ok() wrapping
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
19e4878460
commit
b46ec54cc4
|
@ -126,7 +126,7 @@ impl<'a> TryInto<App> for AppBuilder<'a> {
|
||||||
type Error = Error;
|
type Error = Error;
|
||||||
|
|
||||||
fn try_into(self) -> Result<App> {
|
fn try_into(self) -> Result<App> {
|
||||||
Ok(self.build()?)
|
self.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue