Clippy run
This commit is contained in:
parent
f2a641abea
commit
20c1947b47
|
@ -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"
|
||||
|
|
|
@ -9,7 +9,6 @@ use std::io::prelude::*;
|
|||
|
||||
use tempdir::TempDir;
|
||||
use site::Site;
|
||||
use front_matter::InsertAnchor;
|
||||
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue