fn g(x: &Option) { io::println(x.get().to_str()); } fn f(x: &mut Option) { g(&*x); } fn main() { let mut x = ~Some(3); f(x); }