Function rustfmt_nightly::chains::trim_tries
source · Expand description
Removes try operators (?
s) that appear in the given string. If removing
them leaves an empty line, remove that line as well unless it is the first
line (we need the first newline for detecting pre/post comment).