chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

22
vendor/displaydoc/tests/num_in_field.rs vendored Normal file
View File

@@ -0,0 +1,22 @@
/// {foo1} {foo2}
#[derive(displaydoc::Display)]
pub struct Test {
foo1: String,
foo2: String,
}
fn assert_display<T: std::fmt::Display>(input: T, expected: &'static str) {
let out = format!("{}", input);
assert_eq!(expected, out);
}
#[test]
fn does_it_print() {
assert_display(
Test {
foo1: "hi".into(),
foo2: "hello".into(),
},
"hi hello",
);
}