From 1c6f177d198cb4abe7a126dc543b733fa95376d1 Mon Sep 17 00:00:00 2001 From: dubiousjim Date: Fri, 20 Mar 2020 12:10:02 -0400 Subject: use prebuilt "not implemented" error (#4442) --- cli/ops/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ops') 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()); } }) } -- cgit v1.2.3