summaryrefslogtreecommitdiff
path: root/cli/ops/fs.rs
diff options
context:
space:
mode:
authordubiousjim <dubiousjim@gmail.com>2020-03-20 12:10:02 -0400
committerGitHub <noreply@github.com>2020-03-20 12:10:02 -0400
commit1c6f177d198cb4abe7a126dc543b733fa95376d1 (patch)
tree23e6310e1b07111b7f986529e73be9da609f88b3 /cli/ops/fs.rs
parent69303e21495a14a2c6709f96af364682a485ac21 (diff)
use prebuilt "not implemented" error (#4442)
Diffstat (limited to 'cli/ops/fs.rs')
-rw-r--r--cli/ops/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs
index 31b22b3e6..416ae210a 100644
--- a/cli/ops/fs.rs
+++ b/cli/ops/fs.rs
@@ -730,7 +730,7 @@ fn op_symlink(
// Unlike with chmod/chown, here we don't
// require `oldpath` to exist on Windows
let _ = oldpath; // avoid unused warning
- return Err(OpError::other("Not implemented".to_string()));
+ return Err(OpError::not_implemented());
}
})
}