]> git.lizzy.rs Git - rust.git/commitdiff
more punctuation
authorRalf Jung <post@ralfj.de>
Sun, 4 Oct 2020 21:07:19 +0000 (23:07 +0200)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 21:07:19 +0000 (23:07 +0200)
src/shims/posix/fs.rs

index 4e8d38a977c56fa8af0d7bc941e15e902861dc38..ebf7e16a153400226e35d99e13a92287b0691f63 100644 (file)
@@ -1379,7 +1379,7 @@ fn readlink(
                     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())
             }