From 3aaab3dd9809aa8f9576b77122ba2601fb3ddd52 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 4 Oct 2020 23:07:19 +0200 Subject: [PATCH] more punctuation --- src/shims/posix/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shims/posix/fs.rs b/src/shims/posix/fs.rs index 4e8d38a977c5..ebf7e16a1534 100644 --- a/src/shims/posix/fs.rs +++ b/src/shims/posix/fs.rs @@ -1379,7 +1379,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx path_bytes = &path_bytes[..bufsize] } // 'readlink' truncates the resolved path if - // the provided buffer is not large enough + // the provided buffer is not large enough. this.memory.write_bytes(buf, path_bytes.iter().copied())?; Ok(path_bytes.len().try_into().unwrap()) }