1
0
mirror of https://github.com/bspeice/qadapt synced 2025-08-27 09:46:47 -04:00

Docs updates and thread_id crate

This commit is contained in:
2018-11-10 21:54:13 -05:00
parent de7edaeb0c
commit 1faa353706
3 changed files with 27 additions and 24 deletions

View File

@ -86,4 +86,12 @@ fn test_vec_new() {
fn test_vec_with_one() {
enter_protected();
let _v: Vec<u8> = Vec::with_capacity(1);
}
#[test]
#[should_panic]
fn exit_too_often() {
enter_protected();
exit_protected();
exit_protected();
}