Skip to content

Commit f301002

Browse files
committed
Fix typo
1 parent 4cc9df0 commit f301002

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attributes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ type must be one of the following:
243243
> Note: The test harness is ran by passing the `--test` argument to `rustc` or
244244
> using `cargo test`.
245245
246-
Tests that return `()` pass as long as they terminate do not panic. Tests that
247-
return a `Result` pass as long as they return `Ok(())`. Tests that do not
246+
Tests that return `()` pass as long as they terminate and do not panic. Tests
247+
that return a `Result` pass as long as they return `Ok(())`. Tests that do not
248248
terminate neither pass nor fail.
249249

250250
A function annotated with the `test` attribute can also be annotated with the

0 commit comments

Comments
 (0)