We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbfec64 commit fccc5e3Copy full SHA for fccc5e3
src/lib.rs
@@ -24,13 +24,3 @@ pub struct Callee {
24
pub file: String,
25
pub func: String,
26
}
27
-
28
-impl SerFunction {
29
- /// Even though callees are in insertion order, to make them easy to check,
30
- /// sort by file and function.
31
- pub fn callee_sorted_by_file_func(&self) -> Vec<[&str; 2]> {
32
- let mut callees: Vec<_> = self.callees.iter().collect();
33
- callees.sort_by(|a, b| (&a.file, &a.func).cmp(&(&b.file, &b.func)));
34
- callees.into_iter().map(|c| [&*c.file, &*c.func]).collect()
35
- }
36
-}
0 commit comments