Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Apr 12, 2015
1 parent efac42a commit 0705574
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions phf_codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
//!
//! use std::fs::File;
//! use std::io::{BufWriter, Write};
//! use std::path::AsPath;
//! use std::env;
//! use std::path::Path;
//!
//! fn main() {
//! let path = env::var_os("OUT_DIR").unwrap().as_path().join("codegen.rs");
//! let file = Path::new(env!("OUT_DIR")).join("codegen.rs");
//! let mut file = BufWriter::new(File::create(&path).unwrap());
//!
//! write!(&mut file, "static KEYWORDS: phf::Map<&'static str, Keyword> = ").unwrap();
Expand Down

0 comments on commit 0705574

Please sign in to comment.