[−][src]Function sauron_core::diff
pub fn diff<'a, MSG>(
old: &'a Node<MSG>,
new: &'a Node<MSG>
) -> Vec<Patch<'a, MSG>> where
MSG: 'static,
This is a sauron html specific functionality
diff 2 nodes with attribute using &'static str
instead of generic ATT