Skip to content

Commit

Permalink
Fix typo in refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Mar 5, 2024
1 parent 0045fe8 commit 2d6266e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/symlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl FromStr for Symlink {

let path = PathBuf::from(path);

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

Expand Down

0 comments on commit 2d6266e

Please sign in to comment.