fix(modulo): fix warnings
This commit is contained in:
parent
e3788ea868
commit
2cd974c80b
|
@ -403,7 +403,7 @@ fn macos_link_search_path() -> Option<String> {
|
||||||
let stdout = String::from_utf8_lossy(&output.stdout);
|
let stdout = String::from_utf8_lossy(&output.stdout);
|
||||||
for line in stdout.lines() {
|
for line in stdout.lines() {
|
||||||
if line.contains("libraries: =") {
|
if line.contains("libraries: =") {
|
||||||
let path = line.split('=').skip(1).next()?;
|
let path = line.split('=').nth(1)?;
|
||||||
return Some(format!("{}/lib/darwin", path));
|
return Some(format!("{}/lib/darwin", path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user