From 2d6266e58a38d5269a51882ebc36003cf6d93bb2 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Tue, 5 Mar 2024 12:43:42 +0000 Subject: [PATCH] Fix typo in refactoring --- src/cli/symlink.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`"); };