about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-01-13 20:24:48 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2015-01-13 20:24:48 +0200
commit064c21efd257dfd210e88b2a0a015f0767980853 (patch)
tree034e896796a7ae2975b14211303cb2d20908aa05 /src/libcore
parentf1241f14dc8f5e708e258a46950e8c7635efe6c7 (diff)
downloadrust-064c21efd257dfd210e88b2a0a015f0767980853.tar.gz
rust-064c21efd257dfd210e88b2a0a015f0767980853.zip
Fix a typo in std::result documentation
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/result.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index f7421203336..373291b031e 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -119,7 +119,7 @@
 //! drop(file);
 //! ```
 //!
-//! If you *do* write that in Rust, the compiler will by give you a
+//! If you *do* write that in Rust, the compiler will give you a
 //! warning (by default, controlled by the `unused_must_use` lint).
 //!
 //! You might instead, if you don't want to handle the error, simply