Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 26, 2017
1 parent 002e961 commit a5cc99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/to_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub struct ByteStr<'a>(pub &'a str);

impl<'a> ToTokens for ByteStr<'a> {
fn to_tokens(&self, tokens: &mut Tokens) {
let lit = Literal::bytestring(self.0.as_bytes());
let lit = Literal::byte_string(self.0.as_bytes());
tokens.append(tt(TokenKind::Literal(lit)));
}
}
Expand Down

0 comments on commit a5cc99e

Please sign in to comment.