From 87b865c83cdd1c6dd8ac4997744bb701e9f2dcda Mon Sep 17 00:00:00 2001 From: Mika Attila Date: Thu, 3 Dec 2015 20:11:29 +0100 Subject: [PATCH] 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. --- src/doc/complement-design-faq.md | 6 ++---- 1 file 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