Skip to content

Commit ea7789c

Browse files
authored
Rollup merge of #123136 - Vagelis-Prokopiou:fix/docs, r=ChrisDenton
Some wording improvement "Data" is usually considered as plural uncountable, therefore "some" seems to make more sense imo.
2 parents 45cec32 + cc4a1f4 commit ea7789c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/fs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl File {
385385
/// See the [`OpenOptions::open`] function for more details.
386386
///
387387
/// See also [`std::fs::write()`][self::write] for a simple function to
388-
/// create a file with a given data.
388+
/// create a file with some given data.
389389
///
390390
/// # Examples
391391
///
@@ -1036,7 +1036,7 @@ impl OpenOptions {
10361036
/// [`OpenOptions::append`] access must be used.
10371037
///
10381038
/// See also [`std::fs::write()`][self::write] for a simple function to
1039-
/// create a file with a given data.
1039+
/// create a file with some given data.
10401040
///
10411041
/// # Examples
10421042
///

0 commit comments

Comments
 (0)