{Cow::Borrowed("Static")}
-{Cow::<'_, str>::Borrowed(&owned1)}
-{Cow::<'_, str>::Owned(owned2)}
-Static
Borrowed from owned
Owned
{Cow::Borrowed("Static")}
+{Cow::<'_, str>::Borrowed(&owned1)}
+{Cow::<'_, str>::Owned(owned2)}
+Static
Borrowed from owned
Owned
{num}
}, "42
") + assert_eq!(html! {{num}
}, "42
") } #[test] fn vec() { - use pretty_assertions::assert_eq; - use render::html; - - let list = vec!["Mouse", "Rat", "Hamster"]; - - assert_eq!( - html! { -