Use .as_ref() in lieu of &** (#5874)
I find this less opaque (and often more succinct).
This commit is contained in:
@@ -1156,7 +1156,7 @@ impl<'a> Generator<'a> {
|
||||
range: _range,
|
||||
})],
|
||||
[],
|
||||
) = (&**args, &**keywords)
|
||||
) = (args.as_slice(), keywords.as_slice())
|
||||
{
|
||||
// Ensure that a single generator doesn't get double-parenthesized.
|
||||
self.unparse_expr(elt, precedence::COMMA);
|
||||
|
||||
Reference in New Issue
Block a user