Skip to content

Commit e6fe726

Browse files
committed
fmt
1 parent 56b928b commit e6fe726

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tooling/ast_fuzzer/src/program

tooling/ast_fuzzer/src/program/func.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,8 +1346,7 @@ impl<'a> FunctionContext<'a> {
13461346
// because deref-assign (`*b = x;`) is allowed for `&mut`; force
13471347
// `can_rebind = false` here so `gen_lvalue` only generates the
13481348
// deref form.
1349-
let can_rebind =
1350-
mutable && (self.unconstrained() || !types::contains_reference(&typ));
1349+
let can_rebind = mutable && (self.unconstrained() || !types::contains_reference(&typ));
13511350
let lvalue = self.gen_lvalue(u, ident, typ, can_rebind)?;
13521351
// Generate the assigned value.
13531352
let (expr, expr_dyn) = self.gen_expr(u, &lvalue.typ, self.max_depth(), Flags::TOP)?;

0 commit comments

Comments
 (0)