Take argument of Path::is_ident as reference
Take argument of Path::is_ident as reference

The common usage of path.is_ident("...") is not affected, but this
enables path.is_ident(&ident) which wasn't possible before due to that
PartialEq impl being absent.

dtolnay/syn