Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
11
third-party/vendor/better_scoped_tls/README.md
vendored
Normal file
11
third-party/vendor/better_scoped_tls/README.md
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# better_scoped_tls
|
||||
|
||||
This crate provides an opinionated version of [scoped-tls](https://docs.rs/scoped-tls/1.0.0/scoped_tls/index.html).
|
||||
|
||||
Scoped thread local variables created by this crate will panic with a good message on usage without `.set`, like
|
||||
|
||||
```
|
||||
You should perform this operation in the closure passed to `set` of better_scoped_tls::tests::TESTTLS
|
||||
```
|
||||
|
||||
Syntax is exactly same to the original scoped-tls.
|
||||
Loading…
Add table
Add a link
Reference in a new issue