about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-05 16:16:02 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-05 16:16:02 +0530
commit1bf060ffb31ef6dc79543b4c10b975cd802020d0 (patch)
tree8cd038cf48b57efb6c5995c2bcf55db69897d168 /src/libstd
parentd7afefcbd18f78edad147aad250571d80effd4d0 (diff)
parentf7ffd502e57c0e53c77f47a7c80d2fdc67559fd3 (diff)
downloadrust-1bf060ffb31ef6dc79543b4c10b975cd802020d0.tar.gz
rust-1bf060ffb31ef6dc79543b4c10b975cd802020d0.zip
Rollup merge of #28253 - murarth:prelude-typo, r=steveklabnik
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/prelude/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/prelude/mod.rs b/src/libstd/prelude/mod.rs
index 4597db41e90..82578172802 100644
--- a/src/libstd/prelude/mod.rs
+++ b/src/libstd/prelude/mod.rs
@@ -103,8 +103,8 @@
 //!   `Some` and `None`.
 //! * `std::result::Result::`{
 //!     [`self`](../result/enum.Result.html),
-//!     [`Some`](../result/enum.Result.html),
-//!     [`None`](../result/enum.Result.html)
+//!     [`Ok`](../result/enum.Result.html),
+//!     [`Err`](../result/enum.Result.html)
 //!   }.
 //!   The ubiquitous `Result` type and its two [variants][book-enums],
 //!   `Ok` and `Err`.