mirror of
https://github.com/maplibre/martin.git
synced 2024-12-29 01:43:46 +03:00
Fix clippy lints 1.83, bump deps (#1599)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
64e3484c48
commit
8cf1720723
416
Cargo.lock
generated
416
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user