Skip to content

Commit b99e26a

Browse files
committed
Fix new clippy issue
1 parent 8fe7bff commit b99e26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdkman/candidate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ mod private {
6060
if let Some(word) = line
6161
.split_whitespace()
6262
.filter(|word| *word != "*" && *word != ">")
63-
.last()
63+
.next_back()
6464
{
6565
versions.push(word.to_string());
6666
}

0 commit comments

Comments
 (0)