Skip to content

Commit 2ff14a4

Browse files
committed
Rollup merge of rust-lang#31050 - apasel422:issue-31048, r=Manishearth
Closes rust-lang#31048 r? @Manishearth
2 parents 01273f9 + 132ec2c commit 2ff14a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_borrowck/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ fn main() {
124124
let mut x = Rc::new(RefCell::new(MyStruct{ s: 5u32 }));
125125
let y = x.clone();
126126
x.borrow_mut().s = 6;
127-
println!("{}", x.borrow.s);
127+
println!("{}", x.borrow().s);
128128
}
129129
```
130130

0 commit comments

Comments
 (0)