summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2019-01-11 09:03:00 -0500
committerAndrew Gallant <jamslam@gmail.com>2019-01-11 09:03:00 -0500
commitdbc8ca9cc1b9f38e3c59ac7c4efd9f240ae7a95e (patch)
tree2bf7418f04da2c9e579945c09f4c7aa15377e43c
parentc3db8db93d048be6e4bc62c2d5bdf0e2fee65950 (diff)
grep-searcher: add docs for assert_eq_printed
Looks like the deny(missing_docs) lint got a bit stronger.
-rw-r--r--grep-searcher/src/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/grep-searcher/src/macros.rs b/grep-searcher/src/macros.rs
index a4af7eaa..d8224e41 100644
--- a/grep-searcher/src/macros.rs
+++ b/grep-searcher/src/macros.rs
@@ -1,3 +1,4 @@
+/// Like assert_eq, but nicer output for long strings.
#[cfg(test)]
#[macro_export]
macro_rules! assert_eq_printed {