summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-10-17 13:04:28 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-10-17 20:20:06 -0400
commit213885a9d00a913e3fd2eb21a5992efb63c888f5 (patch)
tree7ac1c5ffad1c3125d72155e40ef5ea75c39945ba /src
parent4e2e185de74edaf49d77983c935686616ba9d07c (diff)
Optimization: Reuse ArrayBuffer during serialization.
Diffstat (limited to 'src')
-rw-r--r--src/ops.rs4
1 files changed, 2 insertions, 2 deletions
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(),
));
}