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.
This commit is contained in:
parent
f016b77dff
commit
87b865c83c
1 changed files with 2 additions and 4 deletions
|
@ -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
|
[Eric Lippert's blog][elp] for the challenges in C#, which also has this
|
||||||
feature.
|
feature.
|
||||||
|
|
||||||
A nice replacement is the [lazy constructor macro][lcm] by [Marvin
|
A nice replacement is [lazy_static][lazy_static].
|
||||||
Löbel][kim].
|
|
||||||
|
|
||||||
[fqa]: http://yosefk.com/c++fqa/ctors.html#fqa-10.12
|
[fqa]: http://yosefk.com/c++fqa/ctors.html#fqa-10.12
|
||||||
[elp]: http://ericlippert.com/2013/02/06/static-constructors-part-one/
|
[elp]: http://ericlippert.com/2013/02/06/static-constructors-part-one/
|
||||||
[lcm]: https://gist.github.com/Kimundi/8782487
|
[lazy_static]: https://crates.io/crates/lazy_static
|
||||||
[kim]: https://github.com/Kimundi
|
|
||||||
|
|
||||||
## The language does not require a runtime
|
## The language does not require a runtime
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue