From 57a3020e6c19b81a4581cbcfe20b43fff1d13c79 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Tue, 16 Jun 2026 21:00:06 +0200 Subject: [PATCH] Add `assert_matches` crate --- data/assert_matches.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 data/assert_matches.toml diff --git a/data/assert_matches.toml b/data/assert_matches.toml new file mode 100644 index 0000000..cdec189 --- /dev/null +++ b/data/assert_matches.toml @@ -0,0 +1,6 @@ +description = """ +`assert_matches!()` and `debug_assert_matches!()` are in `std` since Rust 1.96 (in \ +`std::assert_matches`, not the prelude). The crate's `=> arm` form, which yields \ +a value or runs extra assertions on the bindings, has no `std` equivalent. +""" +url = "https://doc.rust-lang.org/std/macro.assert_matches.html"