Skip to content

Commit 2d6266e

Browse files
committed
Fix typo in refactoring
1 parent 0045fe8 commit 2d6266e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/symlink.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl FromStr for Symlink {
4141

4242
let path = PathBuf::from(path);
4343

44-
let Some((kind, dev)) = s.split_once(':') else {
44+
let Some((kind, dev)) = dev.split_once(':') else {
4545
bail!("Symlink DEVICE format should be `<PREFIX>:<DEVICE>`, found `{dev}`");
4646
};
4747

0 commit comments

Comments
 (0)