diff --git a/src/cli/symlink.rs b/src/cli/symlink.rs index fb08e5e..0b2f6a4 100644 --- a/src/cli/symlink.rs +++ b/src/cli/symlink.rs @@ -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 `:`, found `{dev}`"); };