Skip to content

Commit

Permalink
More fixes for bad sed
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 24, 2015
1 parent 39e098a commit 28af2aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phf/src/map.rs
Expand Up @@ -86,7 +86,7 @@ impl<K, V> Map<K, V> {
/// Returns a reference to the map's isizeernal static instance of the given
/// key.
///
/// This can be useful for isizeerning schemes.
/// This can be useful for interning schemes.
pub fn get_key<T: ?Sized>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + BorrowFrom<K> {
self.get_entry(key).map(|e| e.0)
}
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_map.rs
Expand Up @@ -88,7 +88,7 @@ impl<K, V> OrderedMap<K, V> {
/// Returns a reference to the map's isizeernal static instance of the given
/// key.
///
/// This can be useful for isizeerning schemes.
/// This can be useful for interning schemes.
pub fn get_key<T: ?Sized>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + BorrowFrom<K> {
self.get_entry(key).map(|e| e.0)
}
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_set.rs
Expand Up @@ -66,7 +66,7 @@ impl<T> OrderedSet<T> {
/// Returns a reference to the set's isizeernal static instance of the given
/// key.
///
/// This can be useful for isizeerning schemes.
/// This can be useful for interning schemes.
pub fn get_key<U: ?Sized>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + BorrowFrom<T> {
self.map.get_key(key)
}
Expand Down
2 changes: 1 addition & 1 deletion phf/src/set.rs
Expand Up @@ -64,7 +64,7 @@ impl<T> Set<T> {
/// Returns a reference to the set's isizeernal static instance of the given
/// key.
///
/// This can be useful for isizeerning schemes.
/// This can be useful for interning schemes.
pub fn get_key<U: ?Sized>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + BorrowFrom<T> {
self.map.get_key(key)
}
Expand Down

0 comments on commit 28af2aa

Please sign in to comment.