about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2021-05-18 19:35:48 +0200
committerGitHub <noreply@github.com>2021-05-18 19:35:48 +0200
commit738984311575475472d7ac10c6c02628ee4152e5 (patch)
treebd996aa4a98801b953ce49b432f8f462a050a17f /library/std
parentb86e8f2058b3f285669d0a1aa029de87c42b0958 (diff)
parentd13745d99b60633a667989d2868ddb18a5567284 (diff)
downloadrust-738984311575475472d7ac10c6c02628ee4152e5.tar.gz
rust-738984311575475472d7ac10c6c02628ee4152e5.zip
Rollup merge of #85442 - imjorge:patch-1, r=jonas-schievink
fix typo
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/io/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index 9f43379aff7..e18402f8dec 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -1663,7 +1663,7 @@ pub trait Seek {
     ///
     /// # Errors
     ///
-    /// Seeking can fail, for example becaue it might involve flushing a buffer.
+    /// Seeking can fail, for example because it might involve flushing a buffer.
     ///
     /// Seeking to a negative offset is considered an error.
     #[stable(feature = "rust1", since = "1.0.0")]
@@ -1675,7 +1675,7 @@ pub trait Seek {
     ///
     /// # Errors
     ///
-    /// Rewinding can fail, for example becaue it might involve flushing a buffer.
+    /// Rewinding can fail, for example because it might involve flushing a buffer.
     ///
     /// # Example
     ///