fs-mistrust: Remove a now-unneeded suppression
This function is actually (properly) fallible now.
This commit is contained in:
parent
41543b06d6
commit
5f3571fdf3
|
@ -71,7 +71,6 @@ fn get_self_named_gid_impl<U: PwdGrpProvider>(userdb: &U) -> io::Result<Option<u
|
|||
/// find a user db entry for that username with a UID that matches our own.
|
||||
///
|
||||
/// Failing that, we look for a user entry for our current UID.
|
||||
#[allow(clippy::unnecessary_wraps)] // XXXX
|
||||
fn get_own_username<U: PwdGrpProvider>(userdb: &U) -> io::Result<Option<OsString>> {
|
||||
let my_uid = userdb.getuid();
|
||||
|
||||
|
|
Loading…
Reference in New Issue