Fix clippy lints 1.83, bump deps (#1599)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Yuri Astrakhan 2024-11-28 19:52:41 -05:00 committed by GitHub
parent 64e3484c48
commit 8cf1720723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 228 additions and 192 deletions

416
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,7 @@ pub trait Env<'a>: VariableMap<'a> {
#[derive(Default)]
pub struct OsEnv(RefCell<HashSet<String>>);
impl<'a> Env<'a> for OsEnv {
impl Env<'_> for OsEnv {
fn var_os(&self, key: &str) -> Option<OsString> {
#[allow(unused_qualifications)]
std::env::var_os(key)

View File

@ -29,7 +29,7 @@ impl<'a> VariableMap<'a> for FauxEnv {
}
}
impl<'a> Env<'a> for FauxEnv {
impl Env<'_> for FauxEnv {
fn var_os(&self, key: &str) -> Option<OsString> {
self.0.get(key).map(Into::into)
}