From 63afb268ef187173066dd7b29e945b855dccafa2 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 30 Apr 2020 01:01:17 +0800 Subject: [PATCH] add a --- src/local_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local_util.rs b/src/local_util.rs index 4f90fc1..c2e95a6 100644 --- a/src/local_util.rs +++ b/src/local_util.rs @@ -10,7 +10,7 @@ pub fn read_file_content(file: &Path, large_file_len: u64) -> XResult { return Err(new_box_error(&format!("File not exists: {:?}", file))); } if !file.is_file() { - return Err(new_box_error(&format!("File is not file: {:?}", file))); + return Err(new_box_error(&format!("File is not a file: {:?}", file))); } let file_len = file.metadata()?.len(); if file_len > large_file_len {