forked from mirror/async-std
Use once_cell instead of lazy_static (#416)
`once_cell` provides a neat way of initializing lazy singletons without macro. This PR use `sync::Lazy` to streamline same pattern proposed in related rust RFC. Resolve #406yoshuawuyts-patch-1
parent
da795dec7b
commit
ff6a44fcd5
Loading…
Reference in New Issue