Clippy run

This commit is contained in:
Vincent Prouillet 2017-10-02 20:16:56 +09:00
parent f2a641abea
commit 20c1947b47
4 changed files with 2 additions and 5 deletions

View file

@ -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"

View file

@ -9,7 +9,6 @@ use std::io::prelude::*;
use tempdir::TempDir;
use site::Site;
use front_matter::InsertAnchor;
#[test]

View file

@ -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)

View file

@ -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,