Function clippy_utils::sugg::make_unop
source · pub fn make_unop(op: &str, expr: Sugg<'_>) -> Sugg<'static>
Expand description
Builds the string for <op><expr>
adding parenthesis when necessary.
For convenience, the operator is taken as a string because all unary operators have the same precedence.