Skip to content

Commit 44ffb38

Browse files
New rust version, new clippy issues to fix
1 parent c24e3fe commit 44ffb38

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

crates/planus-translation/src/util/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn normalize_path(path: &Path) -> PathBuf {
1919
}
2020
Component::CurDir => {}
2121
Component::ParentDir => {
22-
if let Some(Component::Normal(_)) = ret.components().last() {
22+
if let Some(Component::Normal(_)) = ret.components().next_back() {
2323
ret.pop();
2424
} else {
2525
ret.push(Component::ParentDir);

flake.lock

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)