about summary refs log tree commit diff
path: root/src/doc/style/errors
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2015-08-09 14:15:05 -0700
committerEli Friedman <eli.friedman@gmail.com>2015-08-09 14:28:46 -0700
commitbbbfed2f93d3ba58a53ed8bf353ed11f3bb751db (patch)
tree32e769e3502ad0a3b4e97681fac2b9569075f3af /src/doc/style/errors
parentfebdc3b201bcce1546c88e3be1b956d3f90d3059 (diff)
downloadrust-bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db.tar.gz
rust-bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db.zip
Use https URLs to refer to rust-lang.org where appropriate.
Also fixes a few outdated links.
Diffstat (limited to 'src/doc/style/errors')
-rw-r--r--src/doc/style/errors/ergonomics.md2
-rw-r--r--src/doc/style/errors/signaling.md2
2 files changed, 2 insertions, 2 deletions
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<T,E>` type](http://static.rust-lang.org/doc/master/std/result/index.html)
+[`Result<T,E>` 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.