Skip to content

Commit

Permalink
Fix README example
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 24, 2014
1 parent eeec95c commit c98c691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -33,6 +33,6 @@ static KEYWORDS: PhfMap<&'static str, Keyword> = phf_map! {
};

pub fn parse_keyword(keyword: &str) -> Option<Keyword> {
KEYWORDS.find(keyword).map(|t| t.clone())
KEYWORDS.find_equiv(keyword).map(|t| t.clone())
}
```

0 comments on commit c98c691

Please sign in to comment.