Update to syn/quote 1.0

This commit is contained in:
David Tolnay
2019-07-31 21:09:14 -07:00
parent 8ad6ae71c6
commit 3ea85a28cf
7 changed files with 160 additions and 142 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ impl Parameters {
/// Type name to use in error messages and `&'static str` arguments to
/// various Deserializer methods.
fn type_name(&self) -> String {
self.this.segments.last().unwrap().value().ident.to_string()
self.this.segments.last().unwrap().ident.to_string()
}
}