nvm my implementation of hashing was better than i thought
This commit is contained in:
parent
d834df1e0d
commit
0ff1d85535
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue