fix clippy

This commit is contained in:
Evan Almloff committed 2023-07-14 12:51:20 -07:00
1 parent 97115f6537
commit 5896dfab1a
2 files changed
+5 -5

No files matched your search

+1 -3
View File
@@ -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)
);