This commit is contained in:
nora 2022-10-02 13:12:09 +02:00
parent 61814d9a6d
commit 822a85e4ce
No known key found for this signature in database
8 changed files with 74 additions and 42 deletions

View file

@ -49,4 +49,9 @@ fn ptr_correct_addr() {
let fmt = format!("{:p}", &STATIC);
assert_eq!(addr, fmt);
}
#[test]
fn temporaries() {
let _ = format_args!("{}", { "owo".to_string() });
}