diff --git a/Cargo.toml b/Cargo.toml index fc04c0e..acf57e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,10 +21,8 @@ clap = "2" chrono = "0.4" toml = "0.4" term-painter = "0.2" - # Used in init to ensure the url given as base_url is a valid one url = "1.5" - # Below is for the serve cmd staticfile = "0.4" iron = "0.5" diff --git a/components/site/tests/site.rs b/components/site/tests/site.rs index a545a63..32656d6 100644 --- a/components/site/tests/site.rs +++ b/components/site/tests/site.rs @@ -9,7 +9,6 @@ use std::io::prelude::*; use tempdir::TempDir; use site::Site; -use front_matter::InsertAnchor; #[test] diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs index ec5100d..1017753 100644 --- a/src/cmd/serve.rs +++ b/src/cmd/serve.rs @@ -241,7 +241,7 @@ fn detect_change_kind(pwd: &str, path: &Path) -> (ChangeKind, String) { } else if path_str.starts_with("/sass") { ChangeKind::Sass } else { - unreachable!("Got a change in an unexpected path: {}", path_str); + unreachable!("Got a change in an unexpected path: {}", path_str) }; (change_kind, path_str) diff --git a/src/rebuild.rs b/src/rebuild.rs index 5c1b16e..112f40e 100644 --- a/src/rebuild.rs +++ b/src/rebuild.rs @@ -37,7 +37,7 @@ enum SectionChangesNeeded { Sort, /// Editing `title`, `description`, `extra`, `template` or setting `render` to true Render, - /// Editing `paginate_by`, `paginate_path` or `insert_anchor` + /// Editing `paginate_by`, `paginate_path` or `insert_anchor_links` RenderWithPages, /// Setting `render` to false Delete,