Skip to content

Commit 8aff4a9

Browse files
committed
doc: update the recommended placeholder
Currently recommended `expect![[]]` is broken rust-analyzer#37, and rust-analyzer#38 is blocked for long time, so maybe we can update the recommendation to a safer option instead. Signed-off-by: xxchan <[email protected]>
1 parent 0eba05e commit 8aff4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
//! # fn check(_: i32, _: Expect) {}
114114
//! #[test]
115115
//! fn test_division() {
116-
//! check(92 / 2, expect![[]])
116+
//! check(92 / 2, expect![[""]])
117117
//! }
118118
//! ```
119119
//!

0 commit comments

Comments
 (0)