Skip to content

Commit 8313ec7

Browse files
authored
Auto merge of #251 - notriddle:notriddle/test-small-stack-warning, r=jdm
Fix warning and typo in small stack regression test None
2 parents 4e8155f + 7934bf9 commit 8313ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/small-stack.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Regression test for https://github.com/servo/html5ever/issues/393
22
//
3-
// Create a dynamic atom − causing initialization of the golbal hash map −
3+
// Create a dynamic atom − causing initialization of the global hash map −
44
// in a thread that has a small stack.
55
//
66
// This is a separate test program rather than a `#[test] fn` among others
@@ -9,7 +9,7 @@ fn main() {
99
std::thread::Builder::new()
1010
.stack_size(50_000)
1111
.spawn(|| {
12-
string_cache::DefaultAtom::from("12345678");
12+
let _atom = string_cache::DefaultAtom::from("12345678");
1313
})
1414
.unwrap()
1515
.join()

0 commit comments

Comments
 (0)