Skip to content

Commit

Permalink
Correct code in E0382 explanation
Browse files Browse the repository at this point in the history
Closes #31048
  • Loading branch information
apasel422 committed Jan 20, 2016
1 parent a668dd2 commit 132ec2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_borrowck/diagnostics.rs
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 132ec2c

Please sign in to comment.