Use more autoderef in libsyntax

This commit is contained in:
Jonas Schievink 2016-02-08 23:55:55 +01:00
parent db6e5d5ef9
commit c877d61b15
10 changed files with 171 additions and 171 deletions

View file

@ -666,7 +666,7 @@ impl InternedString {
impl Deref for InternedString {
type Target = str;
fn deref(&self) -> &str { &*self.string }
fn deref(&self) -> &str { &self.string }
}
impl fmt::Debug for InternedString {