Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea7789c

Browse files
Rollup merge of rust-lang#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‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /