pub fn diff_rsx(new: &File, old: &File) -> Option<Vec<ChangedRsx>>
Expand description
Find any rsx calls in the given file and return a list of all the rsx calls that have changed.
Takes in the two files, clones them, removes the rsx! contents and prunes any doc comments. Then it compares the two files to see if they are different - if they are, the code changed. Otherwise, the code is the same and we can move on to handling the changed rsx
Returns None
if the files are the same and Some
if they are different
If there are no rsx! calls in the files, the vec will be empty.