@@ -39,7 +39,7 @@ use crate::task::{blocking, Context, Poll};
3939/// use async_std::fs::File;
4040/// use async_std::prelude::*;
4141///
42- /// let mut file = File::create("foo .txt").await?;
42+ /// let mut file = File::create("a .txt").await?;
4343/// file.write_all(b"Hello, world!").await?;
4444/// #
4545/// # Ok(()) }) }
@@ -54,7 +54,7 @@ use crate::task::{blocking, Context, Poll};
5454/// use async_std::fs::File;
5555/// use async_std::prelude::*;
5656///
57- /// let mut file = File::open("foo .txt").await?;
57+ /// let mut file = File::open("a .txt").await?;
5858/// let mut contents = Vec::new();
5959/// file.read_to_end(&mut contents).await?;
6060/// #
@@ -129,7 +129,7 @@ impl File {
129129 /// #
130130 /// use async_std::fs::File;
131131 ///
132- /// let file = File::open("foo .txt").await?;
132+ /// let file = File::open("a .txt").await?;
133133 /// #
134134 /// # Ok(()) }) }
135135 /// ```
@@ -176,7 +176,7 @@ impl File {
176176 /// #
177177 /// use async_std::fs::File;
178178 ///
179- /// let file = File::create("foo .txt").await?;
179+ /// let file = File::create("a .txt").await?;
180180 /// #
181181 /// # Ok(()) }) }
182182 /// ```
@@ -224,7 +224,7 @@ impl File {
224224 /// use async_std::fs::File;
225225 /// use async_std::prelude::*;
226226 ///
227- /// let mut file = File::create("foo .txt").await?;
227+ /// let mut file = File::create("a .txt").await?;
228228 /// file.write_all(b"Hello, world!").await?;
229229 /// file.sync_all().await?;
230230 /// #
@@ -280,7 +280,7 @@ impl File {
280280 /// use async_std::fs::File;
281281 /// use async_std::prelude::*;
282282 ///
283- /// let mut file = File::create("foo .txt").await?;
283+ /// let mut file = File::create("a .txt").await?;
284284 /// file.write_all(b"Hello, world!").await?;
285285 /// file.sync_data().await?;
286286 /// #
@@ -340,7 +340,7 @@ impl File {
340340 /// use async_std::fs::File;
341341 /// use async_std::prelude::*;
342342 ///
343- /// let mut file = File::create("foo .txt").await?;
343+ /// let mut file = File::create("a .txt").await?;
344344 /// file.set_len(10).await?;
345345 /// #
346346 /// # Ok(()) }) }
@@ -387,7 +387,7 @@ impl File {
387387 /// #
388388 /// use async_std::fs::File;
389389 ///
390- /// let file = File::open("foo .txt").await?;
390+ /// let file = File::open("a .txt").await?;
391391 /// let metadata = file.metadata().await?;
392392 /// #
393393 /// # Ok(()) }) }
@@ -440,7 +440,7 @@ impl File {
440440 /// use async_std::fs::File;
441441 /// use async_std::prelude::*;
442442 ///
443- /// let mut file = File::create("foo .txt").await?;
443+ /// let mut file = File::create("a .txt").await?;
444444 /// let mut perms = file.metadata().await?.permissions();
445445 /// perms.set_readonly(true);
446446 /// file.set_permissions(perms).await?;
0 commit comments