Function clippy_lints::needless_continue::erode_from_front
[−]
[src]
pub fn erode_from_front(s: &str) -> String
Eats at s
from the front by first skipping all leading whitespace. Then,
any number of opening braces are eaten, followed by any number of newlines.
e.g., the string
{ something(); inside_a_block(); }
is transformed to
something(); inside_a_block(); }