Part of Rust's ownership system are 'lifetimes.' Without getting into the details, they're an annotation you occasionally add to code in certain situations. Like these two:
fn get_mut<'a>(&'a mut self) -> &'a mut T;
fn print<'a>(s: &'a str);
The 'a parts are the lifetime annotations.We used to have a single inference rule for when you didn't need to write the annotation. With RFC 39[1], we added two more. These two extra inference rules removed 87% of the existing annotations, giving you this instead:
fn get_mut(&mut self) -> &mut T;
fn print(s: &str);
This is a pretty huge readability win.1: https://github.com/rust-lang/rfcs/blob/master/active/0039-li...