Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Jul 6, 2019
1 parent 9212de3 commit f96dad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -78,7 +78,7 @@ fn replace_invalid_identifier_chars(s: &str) -> String {
s.replace(|c: char| !c.is_alphanumeric() && c != '_', "_")
}

fn rename_keyword(prefix: &str, s: &str) -> Option<Tokens> {
fn rename_keyword(prefix: &str, s: &str) -> Option<TokenStream> {
let keywords = [
"as", "break", "const", "continue", "crate", "else", "enum", "extern", "false", "fn",
"for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", "pub", "ref",
Expand Down

0 comments on commit f96dad3

Please sign in to comment.