fix clippy::unit_arg: make it explicit that Ok(()) is being returned
This commit is contained in:
parent
f3ec5be849
commit
a1c22122da
1 changed files with 2 additions and 2 deletions
|
@ -74,9 +74,9 @@ impl DocFS {
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Ok(())
|
|
||||||
} else {
|
} else {
|
||||||
Ok(try_err!(fs::write(&path, contents), path))
|
try_err!(fs::write(&path, contents), path);
|
||||||
}
|
}
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue