From 213885a9d00a913e3fd2eb21a5992efb63c888f5 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 17 Oct 2018 13:04:28 -0400 Subject: Optimization: Reuse ArrayBuffer during serialization. --- src/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ops.rs b/src/ops.rs index d786dfa41..7e6071d65 100644 --- a/src/ops.rs +++ b/src/ops.rs @@ -816,8 +816,8 @@ fn op_copy_file( // Once the issue is reolved, we should remove this workaround. if cfg!(unix) && !from.is_file() { return Err(errors::new( - ErrorKind::NotFound, - "File not found".to_string(), + ErrorKind::NotFound, + "File not found".to_string(), )); } -- cgit v1.2.3