Skip to content

Commit

Permalink
Rollup merge of rust-lang#31050 - apasel422:issue-31048, r=Manishearth
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jan 23, 2016
2 parents 82626b1 + 132ec2c commit 3f56b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_borrowck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fn main() {
let mut x = Rc::new(RefCell::new(MyStruct{ s: 5u32 }));
let y = x.clone();
x.borrow_mut().s = 6;
println!("{}", x.borrow.s);
println!("{}", x.borrow().s);
}
```
Expand Down

0 comments on commit 3f56b29

Please sign in to comment.