We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b301e02 commit afbe15dCopy full SHA for afbe15d
src/doc/trpl/macros.md
@@ -683,9 +683,9 @@ let v = vec![0; 100];
683
684
## assert! and assert_eq!
685
686
-These two macros are used in tests. `assert!` takes a boolean, and `assert_eq!`
687
-takes two values and compares them. Truth passes, success `panic!`s. Like
688
-this:
+These two macros are used in tests. `assert!` takes a boolean. `assert_eq!`
+takes two values and checks them for equality. `true` passes, `false` `panic!`s.
+Like this:
689
690
```rust,no_run
691
// A-ok!
0 commit comments