about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVagelis Prokopiou <vagelis.prokopiou@gmail.com>2024-03-27 17:26:18 +0200
committerVagelis Prokopiou <vagelis.prokopiou@gmail.com>2024-03-27 17:26:18 +0200
commitcc4a1f42e64d1061bb59e349e999b925e1e85b99 (patch)
treeaa81b6ac69b0f4b71c0e0a47d452871098ce0fd7
parent10a7aa14fed9b528b74b0f098c4899c37c09a9c7 (diff)
downloadrust-cc4a1f42e64d1061bb59e349e999b925e1e85b99.tar.gz
rust-cc4a1f42e64d1061bb59e349e999b925e1e85b99.zip
Some wording improvement
-rw-r--r--library/std/src/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 8b3a9e82aad..9017ba79714 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -385,7 +385,7 @@ impl File {
     /// See the [`OpenOptions::open`] function for more details.
     ///
     /// See also [`std::fs::write()`][self::write] for a simple function to
-    /// create a file with a given data.
+    /// create a file with some given data.
     ///
     /// # Examples
     ///
@@ -1036,7 +1036,7 @@ impl OpenOptions {
     /// [`OpenOptions::append`] access must be used.
     ///
     /// See also [`std::fs::write()`][self::write] for a simple function to
-    /// create a file with a given data.
+    /// create a file with some given data.
     ///
     /// # Examples
     ///