about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMika Attila <radiantstatue@gmail.com>2015-12-03 20:11:29 +0100
committerMika Attila <radiantstatue@gmail.com>2015-12-03 20:11:29 +0100
commit87b865c83cdd1c6dd8ac4997744bb701e9f2dcda (patch)
tree6a8c0bdd107e8d1ecc8c1d0b120f39c8652e6a6c
parentf016b77dffb77ec04e1386811d3aec62446c619e (diff)
downloadrust-87b865c83cdd1c6dd8ac4997744bb701e9f2dcda.tar.gz
rust-87b865c83cdd1c6dd8ac4997744bb701e9f2dcda.zip
Link to lazy_static crate in Design FAQ
Replace the old link pointing to an out-of-date gist with a
link to the lazy_static crate on crates.io.

We also don't need to state the author, as the crates.io page
shows the authors and owners.
-rw-r--r--src/doc/complement-design-faq.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/doc/complement-design-faq.md b/src/doc/complement-design-faq.md
index 5e99876f5da..36e76896dad 100644
--- a/src/doc/complement-design-faq.md
+++ b/src/doc/complement-design-faq.md
@@ -76,13 +76,11 @@ See [the C++ FQA][fqa]  about the "static initialization order fiasco", and
 [Eric Lippert's blog][elp] for the challenges in C#, which also has this
 feature.
 
-A nice replacement is the [lazy constructor macro][lcm] by [Marvin
-Löbel][kim].
+A nice replacement is [lazy_static][lazy_static].
 
 [fqa]: http://yosefk.com/c++fqa/ctors.html#fqa-10.12
 [elp]: http://ericlippert.com/2013/02/06/static-constructors-part-one/
-[lcm]: https://gist.github.com/Kimundi/8782487
-[kim]: https://github.com/Kimundi
+[lazy_static]: https://crates.io/crates/lazy_static
 
 ## The language does not require a runtime