1 // Chains with comment.
8 // comment after parent
12 .bar() // comment after bar()
21 // Remove nodes that are not dirty
22 .filter(|&(unit
, _
)| dirties
.contains(&unit
))
23 // Retain only dirty dependencies of the ones that are dirty
29 .filter(|d
| dirties
.contains(&d
))
34 let y
= expr
/* comment */
38 let loooooooooooooooooooooooooooooooooooooooooong
= does_this?
42 .after_the_first_question_mark?
;
43 let zzzz
= expr?
// comment after parent
45 .another???
// comment 1
46 .another????
// comment 2
47 .another?
// comment 3
52 .loooooooooooooooooooooooooooooooooooooong() /* comment */
54 .inside() /* comment */
60 parameterized(f
, substs
, def_id
, Ns
::Value
, &[], |tcx
| {
61 tcx
.lookup_item_type(def_id
).generics
63 fooooooooooooooooooooooooooo()?
65 .baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz()?
;
68 App
::new("cargo-cache")
69 .version(crate_version
!())
71 .about("Manage cargo cache")
72 .author("matthiaskrgr")
74 SubCommand
::with_name("cache")
75 .version(crate_version
!())
76 .bin_name("cargo-cache")
77 .about("Manage cargo cache")
78 .author("matthiaskrgr")
83 .arg(&keep_duplicate_crates
)
86 .arg(&auto_clean_expensive
),
93 fn dirty_rev_dep_graph(
95 dirties
: &HashSet
<UnitKey
>,
96 ) -> HashMap
<UnitKey
, HashSet
<UnitKey
>> {
97 let dirties
= self.transitive_dirty_units(dirties
);
98 trace
!("transitive_dirty_units: {:?}", dirties
);
102 // Remove nodes that are not dirty
103 .filter(|&(unit
, _
)| dirties
.contains(&unit
))
104 // Retain only dirty dependencies of the ones that are dirty
110 .filter(|d
| dirties
.contains(&d
))
131 .bar???????????????
// comment