diff --git a/src/ast/mod.rs b/src/ast/mod.rs index d270f9a..227cb74 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -586,12 +586,12 @@ impl ModuleDef { #[cfg(windows)] { if path.is_relative() { - def.path.fragment = dbg!(base.join(path).to_string_lossy().to_string()); + def.path.fragment = base.join(path).to_string_lossy().to_string(); } } } if let Expression::Import(ref mut def) = e { - let path = dbg!(PathBuf::from(&def.path.fragment)); + let path = PathBuf::from(&def.path.fragment); // std/ paths are special and do not get made into absolute paths. if path.starts_with("std/") { return; diff --git a/src/build/format.rs b/src/build/format.rs index 967abe1..c946c6e 100644 --- a/src/build/format.rs +++ b/src/build/format.rs @@ -69,7 +69,6 @@ impl + Clone> FormatRenderer for SimpleFormatter { count += 1; should_escape = false; } else if c == '\\' && !should_escape { - eprintln!("found an escape char {}", self.tmpl); should_escape = true; } else { buf.push(c); diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs index f3c178a..0b5fc5b 100644 --- a/src/tokenizer/mod.rs +++ b/src/tokenizer/mod.rs @@ -61,19 +61,16 @@ fn escapequoted<'a>(input: OffsetStrIter<'a>) -> Result, Strin if escape { match c as char { 'n' => { - eprintln!("Pushing new line onto string"); frag.push('\n'); escape = false; continue; } 'r' => { - eprintln!("Pushing carriage return onto string"); frag.push('\r'); escape = false; continue; } 't' => { - eprintln!("Pushing tab onto string"); frag.push('\t'); escape = false; continue;