Rollup merge of #31050 - apasel422:issue-31048, r=Manishearth

Closes #31048

r? @Manishearth
This commit is contained in:
Steve Klabnik 2016-01-23 09:38:42 -05:00
commit 3f56b29715

View File

@ -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);
}
```