Remove lifetime from serde_test::Token

This commit is contained in:
David Tolnay
2017-04-05 00:17:50 -07:00
parent 92bc23e484
commit 5871fb9ce0
8 changed files with 95 additions and 81 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ pub enum Error {
InvalidName(&'static str),
/// `Serialize` generated a token that didn't match the test.
UnexpectedToken(Token<'static>),
UnexpectedToken(Token),
/// The expected token list was too short.
EndOfTokens,