Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

@@ -0,0 +1,3 @@
use pretty_assertions::assert_eq;
include!("standard_assertion.rs");
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

@@ -0,0 +1,26 @@
#[derive(Debug, PartialEq)]
struct Foo {
lorem: &'static str,
ipsum: u32,
dolor: Result<String, String>,
}
fn compare() {
let x = Some(Foo {
lorem: "Hello World!",
ipsum: 42,
dolor: Ok("hey".to_string()),
});
let y = Some(Foo {
lorem: "Hello Wrold!",
ipsum: 42,
dolor: Ok("hey ho!".to_string()),
});
assert_eq!(x, y);
}
fn main() {
let result = std::panic::catch_unwind(compare);
assert!(result.is_err(), "example did not panic");
}