about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/trpl/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md
index 791a90bdf9b..66da6395a5e 100644
--- a/src/doc/trpl/testing.md
+++ b/src/doc/trpl/testing.md
@@ -309,7 +309,7 @@ extern crate adder;
 
 #[test]
 fn it_works() {
-    assert_eq(4, adder::add_two(2));
+    assert_eq!(4, adder::add_two(2));
 }   
 ```