mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-20 12:59:28 +08:00
Fix clippy warnings
This commit is contained in:
@@ -289,7 +289,7 @@ mod build_bundled {
|
||||
}
|
||||
|
||||
fn env(name: &str) -> Option<OsString> {
|
||||
let prefix = env::var("TARGET").unwrap().to_uppercase().replace("-", "_");
|
||||
let prefix = env::var("TARGET").unwrap().to_uppercase().replace('-', "_");
|
||||
let prefixed = format!("{}_{}", prefix, name);
|
||||
let var = env::var_os(&prefixed);
|
||||
|
||||
|
Reference in New Issue
Block a user