about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpeferron <pe.ferron@gmail.com>2015-05-18 13:39:19 -0700
committerpeferron <pe.ferron@gmail.com>2015-05-19 07:56:29 -0700
commitafbe15d103dd12e177b7fa875b8c21d43e2f15a3 (patch)
tree1d5f0009ab673322d879e4020d98218857cfc8b3
parentb301e02f37127da993dd2cf370aa1066d48b042e (diff)
downloadrust-afbe15d103dd12e177b7fa875b8c21d43e2f15a3.tar.gz
rust-afbe15d103dd12e177b7fa875b8c21d43e2f15a3.zip
Fix description of assert!
-rw-r--r--src/doc/trpl/macros.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md
index d504fab206d..5660f7c198f 100644
--- a/src/doc/trpl/macros.md
+++ b/src/doc/trpl/macros.md
@@ -683,9 +683,9 @@ let v = vec![0; 100];
 
 ## assert! and assert_eq!
 
-These two macros are used in tests. `assert!` takes a boolean, and `assert_eq!`
-takes two values and compares them. Truth passes, success `panic!`s. Like
-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:
 
 ```rust,no_run
 // A-ok!