Skip to content

Commit

Permalink
doc: update the recommended placeholder
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
xxchan committed Dec 19, 2024
1 parent 0eba05e commit 8aff4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
//! # fn check(_: i32, _: Expect) {}
//! #[test]
//! fn test_division() {
//! check(92 / 2, expect![[]])
//! check(92 / 2, expect![[""]])
//! }
//! ```
//!
Expand Down

0 comments on commit 8aff4a9

Please sign in to comment.