Skip to content

Commit

Permalink
Fix whitespace in codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Feb 22, 2015
1 parent e1e6d3b commit 8078e83
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions phf_codegen/src/lib.rs
Expand Up @@ -108,8 +108,7 @@ impl<K: Hash+PhfHash+Eq+fmt::Debug> Map<K> {

try!(write!(w, "::phf::Map {{
key: {},
disps: &[
",
disps: &[",
state.key));
for &(d1, d2) in &state.disps {
try!(write!(w, "
Expand All @@ -118,8 +117,7 @@ impl<K: Hash+PhfHash+Eq+fmt::Debug> Map<K> {
}
try!(write!(w, "
],
entries: &[
"));
entries: &["));
for &idx in &state.map {
try!(write!(w, "
({:?}, {}),",
Expand Down

0 comments on commit 8078e83

Please sign in to comment.