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.
This commit is contained in:
Matthias Krüger 2024-03-27 23:27:24 +01:00 committed by GitHub
commit ea7789c56e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
///