mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
clippy
This commit is contained in:
parent
9110457480
commit
c5c2617596
1 changed files with 1 additions and 2 deletions
|
@ -1201,8 +1201,7 @@ fn get_xcode_version() -> f32 {
|
||||||
.and_then(|out| String::from_utf8(out.stdout).map_err(|_| ()))
|
.and_then(|out| String::from_utf8(out.stdout).map_err(|_| ()))
|
||||||
.and_then(|str| {
|
.and_then(|str| {
|
||||||
str.split_whitespace()
|
str.split_whitespace()
|
||||||
.skip(1)
|
.nth(1)
|
||||||
.next()
|
|
||||||
.map(|s| s.to_string())
|
.map(|s| s.to_string())
|
||||||
.ok_or(())
|
.ok_or(())
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue