Merge pull request #131 from jaemk/master

fix `lazy_static` links
This commit is contained in:
David Tolnay 2017-05-18 21:06:59 -07:00 committed by GitHub
commit e01ebc6171
2 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@
| [Generate random numbers with normal distribution][ex-rand-dist] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] | | [Generate random numbers with normal distribution][ex-rand-dist] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] |
| [Generate random values of a custom type][ex-rand-custom] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] | | [Generate random values of a custom type][ex-rand-custom] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] |
| [Run an External Command and Process Stdout][ex-parse-subprocess-output] | [![regex-badge]][regex] | [![cat-os-badge]][cat-os] [![cat-text-processing-badge]][cat-text-processing] | | [Run an External Command and Process Stdout][ex-parse-subprocess-output] | [![regex-badge]][regex] | [![cat-os-badge]][cat-os] [![cat-text-processing-badge]][cat-text-processing] |
| [Declare lazily evaluated constant][ex-lazy-constant] | [![lazy-static-badge]][lazy-static] | [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns] | | [Declare lazily evaluated constant][ex-lazy-constant] | [![lazy_static-badge]][lazy_static] | [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns] |
@ -273,7 +273,7 @@ quick_main!(run);
<a name="ex-lazy-constant"></a> <a name="ex-lazy-constant"></a>
## Declare lazily evaluated constant ## Declare lazily evaluated constant
[![lazy-static-badge]][lazy-static] [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns] [![lazy_static-badge]][lazy_static] [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns]
Declares a lazily evaluated constant [`HashMap`]. The [`HashMap`] will Declares a lazily evaluated constant [`HashMap`]. The [`HashMap`] will
be evaluated once and stored behind a global static reference. be evaluated once and stored behind a global static reference.
@ -328,8 +328,8 @@ fn main() {
[byteorder-badge]: https://img.shields.io/crates/v/byteorder.svg?label=byteorder [byteorder-badge]: https://img.shields.io/crates/v/byteorder.svg?label=byteorder
[byteorder]: https://docs.rs/byteorder/ [byteorder]: https://docs.rs/byteorder/
[lazy-static]: https://docs.rs/lazy_static/ [lazy_static]: https://docs.rs/lazy_static/
[lazy-static-badge]: https://img.shields.io/crates/v/lazy_static.svg?label=lazy_static [lazy_static-badge]: https://img.shields.io/crates/v/lazy_static.svg?label=lazy_static
[rand-badge]: https://img.shields.io/crates/v/rand.svg?label=rand [rand-badge]: https://img.shields.io/crates/v/rand.svg?label=rand
[rand]: https://docs.rs/rand/ [rand]: https://docs.rs/rand/
[std-badge]: https://img.shields.io/badge/std-1.17.0-blue.svg [std-badge]: https://img.shields.io/badge/std-1.17.0-blue.svg

View file

@ -27,7 +27,7 @@ community. It needs and welcomes help. For details see
| [Generate random numbers with normal distribution][ex-rand-dist] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] | | [Generate random numbers with normal distribution][ex-rand-dist] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] |
| [Generate random values of a custom type][ex-rand-custom] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] | | [Generate random values of a custom type][ex-rand-custom] | [![rand-badge]][rand] | [![cat-science-badge]][cat-science] |
| [Run an External Command and Process Stdout][ex-parse-subprocess-output] | [![regex-badge]][regex] | [![cat-os-badge]][cat-os] [![cat-text-processing-badge]][cat-text-processing] | | [Run an External Command and Process Stdout][ex-parse-subprocess-output] | [![regex-badge]][regex] | [![cat-os-badge]][cat-os] [![cat-text-processing-badge]][cat-text-processing] |
| [Declare lazily evaluated constant][ex-lazy-constant] | [![lazy-static-badge]][lazy-static] | [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns] | | [Declare lazily evaluated constant][ex-lazy-constant] | [![lazy_static-badge]][lazy_static] | [![cat-caching-badge]][cat-caching] [![cat-rust-patterns-badge]][cat-rust-patterns] |
## [Encoding](encoding.html) ## [Encoding](encoding.html)
@ -120,8 +120,8 @@ Keep lines sorted.
[env_logger]: https://docs.rs/env_logger/ [env_logger]: https://docs.rs/env_logger/
[flate2-badge]: https://img.shields.io/crates/v/flate2.svg?label=flate2 [flate2-badge]: https://img.shields.io/crates/v/flate2.svg?label=flate2
[flate2]: https://docs.rs/flate2/ [flate2]: https://docs.rs/flate2/
[lazy-static]: https://docs.rs/lazy_static/ [lazy_static]: https://docs.rs/lazy_static/
[lazy-static-badge]: https://img.shields.io/crates/v/lazy_static.svg?label=lazy_static [lazy_static-badge]: https://img.shields.io/crates/v/lazy_static.svg?label=lazy_static
[log-badge]: https://img.shields.io/crates/v/log.svg?label=log [log-badge]: https://img.shields.io/crates/v/log.svg?label=log
[log]: https://docs.rs/log/ [log]: https://docs.rs/log/
[rand-badge]: https://img.shields.io/crates/v/rand.svg?label=rand [rand-badge]: https://img.shields.io/crates/v/rand.svg?label=rand