im silly...
This commit is contained in:
parent
cb2ac77f1e
commit
6159645bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ pub(crate) trait ToNixideResult<T> {
|
|||
|
||||
impl<T> ToNixideResult<T> for Result<T, std::ffi::NulError> {
|
||||
fn to_nixide_result(self) -> NixideResult<T> {
|
||||
Err(new_nixide_error!(StringNulByte))
|
||||
self.or(Err(new_nixide_error!(StringNulByte)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue