This question is not about the difference between fn foo(x: &T) and fn foo(ref x: T).
fn foo(x: &T)
fn foo(ref x: T)
I wish to ask when it\'s desirable / idiomati