From bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 9 Aug 2015 14:15:05 -0700 Subject: Use https URLs to refer to rust-lang.org where appropriate. Also fixes a few outdated links. --- src/doc/style/errors/ergonomics.md | 2 +- src/doc/style/errors/signaling.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/doc/style/errors') diff --git a/src/doc/style/errors/ergonomics.md b/src/doc/style/errors/ergonomics.md index f2e23963e10..0985475f56a 100644 --- a/src/doc/style/errors/ergonomics.md +++ b/src/doc/style/errors/ergonomics.md @@ -57,7 +57,7 @@ fn write_info(info: &Info) -> Result<(), IoError> { ``` See -[the `result` module documentation](http://static.rust-lang.org/doc/master/std/result/index.html#the-try!-macro) +[the `result` module documentation](https://doc.rust-lang.org/stable/std/result/index.html#the-try!-macro) for more details. ### The `Result`-`impl` pattern [FIXME] diff --git a/src/doc/style/errors/signaling.md b/src/doc/style/errors/signaling.md index 24cd5957f8a..4038ec10b9a 100644 --- a/src/doc/style/errors/signaling.md +++ b/src/doc/style/errors/signaling.md @@ -94,7 +94,7 @@ aspects of the input that are not covered by the contract. ### For obstructions, use `Result` The -[`Result` type](http://static.rust-lang.org/doc/master/std/result/index.html) +[`Result` type](https://doc.rust-lang.org/stable/std/result/index.html) represents either a success (yielding `T`) or failure (yielding `E`). By returning a `Result`, a function allows its clients to discover and react to obstructions in a fine-grained way. -- cgit 1.4.1-3-g733a5