Skip to content

Commit 3b03c20

Browse files
committed
Merge pull request #20851 from englishm/patch-1
Docs: Should be `assert_eq!` not `assert_eq` Reviewed-by: sfackler
2 parents 52e5ae7 + 68ecfe0 commit 3b03c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ extern crate adder;
309309
310310
#[test]
311311
fn it_works() {
312-
assert_eq(4, adder::add_two(2));
312+
assert_eq!(4, adder::add_two(2));
313313
}
314314
```
315315

0 commit comments

Comments
 (0)