Skip to content

Commit adeed4c

Browse files
committed
docs(adb): mv alloc comment
1 parent db719e0 commit adeed4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/adb.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ impl ACommand {
143143
});
144144

145145
self.0.arg("version");
146-
// typically 5 allocs (after `lines`).
147-
// ideally 0, if we didn't use `lines`.
148146
Ok(self
149147
.run()?
150148
.lines()
151149
.enumerate()
150+
// typically 5 allocs.
151+
// ideally 0, if we didn't use `lines`.
152152
.map(|(i, ln)| {
153153
debug_assert!(match i {
154154
0 => TRIPLE.is_match(ln),

0 commit comments

Comments
 (0)