mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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:
commit
ea7789c56e
@ -385,7 +385,7 @@ impl File {
|
|||||||
/// See the [`OpenOptions::open`] function for more details.
|
/// See the [`OpenOptions::open`] function for more details.
|
||||||
///
|
///
|
||||||
/// See also [`std::fs::write()`][self::write] for a simple function to
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
@ -1036,7 +1036,7 @@ impl OpenOptions {
|
|||||||
/// [`OpenOptions::append`] access must be used.
|
/// [`OpenOptions::append`] access must be used.
|
||||||
///
|
///
|
||||||
/// See also [`std::fs::write()`][self::write] for a simple function to
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user