fix clippy
This commit is contained in:
1 parent
97115f6537
commit
5896dfab1a
2 files changed
+5
-5
No files matched your search
@@ -1,5 +1,3 @@
|
||||
use std::borrow::Borrow;
|
||||
|
||||
use dioxus_core_macro::*;
|
||||
|
||||
#[test]
|
||||
@@ -20,7 +18,7 @@ fn formatting_compiles() {
|
||||
|
||||
// function calls in formatings work
|
||||
assert_eq!(
|
||||
format_args_f!("{x.borrow():?}").to_string(),
|
||||
format_args_f!("{x.clone():?}").to_string(),
|
||||
format!("{:?}", x)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user