clippy_utils::sugg

Function has_enclosing_paren

source
pub fn has_enclosing_paren(sugg: impl AsRef<str>) -> bool
Expand description

Returns true if sugg is enclosed in parenthesis.