diff --git a/src/main.rs b/src/main.rs index 52302b7..7f34715 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use std::borrow::Borrow; + use std::collections::HashMap; use chrono::NaiveDateTime; use html5ever::tendril::SliceExt; @@ -13,8 +13,7 @@ use std::fs::{read_to_string, File}; use std::io::ErrorKind::NotFound; use std::io::{Error, Write}; use std::path::PathBuf; -use html5ever::tendril::fmt::Slice; -use meowhash::{MeowHash, MeowHasher}; +use meowhash::MeowHasher; extern crate markdown; @@ -122,8 +121,7 @@ fn main() -> Result<(), Error> { println!("Nothing to do"); return Ok(()); } - println!("Successfully converted to HTML! Creating documents..."); - + println!("Successfully converted to HTML! Creating {} document(s)...", posts.len()); for post in &posts { let template_html = Document::from(template.as_str()); let output_html = template_html;