Skip to content

Commit

Permalink
Rollup merge of rust-lang#123136 - Vagelis-Prokopiou:fix/docs, r=Chri…
Browse files Browse the repository at this point in the history
…sDenton

Some wording improvement

"Data" is usually considered as plural uncountable, therefore "some" seems to make more sense imo.
  • Loading branch information
matthiaskrgr authored Mar 27, 2024
2 parents 45cec32 cc4a1f4 commit ea7789c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down

0 comments on commit ea7789c

Please sign in to comment.