Function clippy_lints::utils::sugg::make_unop
[−]
[src]
pub fn make_unop(op: &str, expr: Sugg) -> Sugg<'static>
Build 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.