about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorBart Massey <bart.massey@gmail.com>2022-09-03 11:09:06 -0700
committerBart Massey <bart.massey@gmail.com>2022-09-03 11:09:06 -0700
commit3afbc115f7f7f6b94c213bd3e5a19004cffe196f (patch)
treebc82f9c3cd44621faa5e682ad9500d74e5d954f9 /library/std/src
parentae0030beb0398cabb2626fe326d6b2e8286c70b9 (diff)
downloadrust-3afbc115f7f7f6b94c213bd3e5a19004cffe196f.tar.gz
rust-3afbc115f7f7f6b94c213bd3e5a19004cffe196f.zip
updated description of File struct in std::fs
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 28a2c99f7e5..c6c78dc3939 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -19,7 +19,7 @@ use crate::sys::fs as fs_imp;
 use crate::sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
 use crate::time::SystemTime;
 
-/// A reference to an open file on the filesystem.
+/// An object providing access to an open file on the filesystem.
 ///
 /// An instance of a `File` can be read and/or written depending on what options
 /// it was opened with. Files also implement [`Seek`] to alter the logical cursor