Skip to content

Commit d860281

Browse files
authored
v0: replace skip_* methods with print_* methods in a "skip printing" mode. (#53)
* v0: add doc comments on `Printer` fields. * v0: shorten `write_str` & `fmt::Display::fmt` calls to just `print`. * v0: replace `skip_*` methods with `print_*` methods in a "skip printing" mode.
1 parent d7ea01a commit d860281

File tree

2 files changed

+177
-257
lines changed

2 files changed

+177
-257
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,5 +441,8 @@ mod tests {
441441
super::demangle("RYFG_FGyyEvRYFF_EvRYFFEvERLB_B_B_ERLRjB_B_B_")
442442
)
443443
.is_err());
444+
// NOTE(eddyb) somewhat reduced version of the above, effectively
445+
// `<for<...> fn()>` with a larger number of lifetimes in `...`.
446+
assert!(write!(s, "{}", super::demangle("_RMC0FGZZZ_Eu")).is_err());
444447
}
445448
}

0 commit comments

Comments
 (0)