mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-05 17:01:07 +00:00
Update to syn/quote 1.0
This commit is contained in:
7 files changed
+160
-142
No files matched your search
@@ -54,6 +54,12 @@ impl PartialEq<Symbol> for Path {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> PartialEq<Symbol> for &'a Path {
|
||||
fn eq(&self, word: &Symbol) -> bool {
|
||||
self.is_ident(word.0)
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for Symbol {
|
||||
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||
formatter.write_str(self.0)
|
||||
|
||||
Reference in new issue
Block a user