Function clippy_utils::sugg::has_enclosing_paren
source ยท pub fn has_enclosing_paren(sugg: impl AsRef<str>) -> bool
Expand description
Returns true
if sugg
is enclosed in parenthesis.
pub fn has_enclosing_paren(sugg: impl AsRef<str>) -> bool
Returns true
if sugg
is enclosed in parenthesis.