diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-01-19 00:19:58 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-01-19 00:21:02 +0100 |
commit | 9e9507f3233dceb98b5a6809519ec989cb8894c6 (patch) | |
tree | a908e9ba3122a06c9be85f4840f23f0bdbe0bece /src/utils | |
parent | bd77840f7b3bf527dd0e58b198683a1cb84e404a (diff) |
edit: add test
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/fileutil.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/fileutil.rs b/src/utils/fileutil.rs index 4f0e6e2..799fbc0 100644 --- a/src/utils/fileutil.rs +++ b/src/utils/fileutil.rs @@ -65,7 +65,7 @@ pub fn read_single_char(mut source: impl BufRead) -> Result<char, String> { match buf.chars().next() { Some(c) => Ok(c), - None => Err("failed to read from stdin".to_string()), + None => Err("failed to read from {}".to_string()), } } |