From 566e36e67baf4680936087b0685ce0995a333cf9 Mon Sep 17 00:00:00 2001 From: lzutao Date: Mon, 11 Mar 2019 15:42:21 +0700 Subject: [PATCH] Update links --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1a9033f9e..58bba9fabb 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,16 @@ # Rust By Example -[![Build Status](https://travis-ci.org/rust-lang/rust-by-example.svg?branch=master)](https://travis-ci.org/rust-lang/rust-by-example) +[![Build Status][travis-badge]][travis-repo] + +[travis-badge]: https://travis-ci.com/rust-lang/rust-by-example.svg?branch=master +[travis-repo]: https://travis-ci.com/rust-lang/rust-by-example Learn Rust with examples (Live code editor included) ## Using -If you'd like to read Rust by Example, you can visit -[https://doc.rust-lang.org/stable/rust-by-example/](https://doc.rust-lang.org/stable/rust-by-example/) to read it online. +If you'd like to read Rust by Example, you can visit https://doc.rust-lang.org/rust-by-example/ +to read it online. If you'd like to read it locally, [install Rust], and then: @@ -19,7 +22,7 @@ $ mdbook build $ mdbook serve ``` -[install Rust]: http://rust-lang.org/install.html +[install Rust]: https://www.rust-lang.org/tools/install To be able to run the examples, you must be connected to the internet; you can read all content offline, however!