diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-02-09 22:16:58 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-03-11 02:25:44 +0000 |
| commit | 8629fd3e4e5184852352ea1bb18bb1c8465ffac3 (patch) | |
| tree | f6e2daab2a2584e18b8989a89a160ab27c6e548b /src/libstd/fs.rs | |
| parent | 9d71ec1358ac063fe6ff1eaed0ba6ed3cedde610 (diff) | |
| download | rust-8629fd3e4e5184852352ea1bb18bb1c8465ffac3.tar.gz rust-8629fd3e4e5184852352ea1bb18bb1c8465ffac3.zip | |
Improvements to comments in libstd, libcore, liballoc.
Diffstat (limited to 'src/libstd/fs.rs')
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 25f2dd73504..93cee50af13 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -211,7 +211,7 @@ pub struct DirBuilder { recursive: bool, } -/// How large a buffer to pre-allocate before reading the entire file. +/// Indicates how large a buffer to pre-allocate before reading the entire file. fn initial_buffer_size(file: &File) -> usize { // Allocate one extra byte so the buffer doesn't need to grow before the // final `read` call at the end of the file. Don't worry about `usize` |
