File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Deny warnings, except in dev mode
22#![ deny( warnings) ]
3+ #![ allow( unknown_lints) ]
4+ #![ allow( unused_doc_comment) ] // error-chain 0.11 should fix this.
35#![ cfg_attr( feature="dev" , warn( warnings) ) ]
46
57// stuff we want clippy to ignore
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pub fn build(config: &Config) -> Result<()> {
152152 . collect ( ) ;
153153
154154 trace ! ( "Generating posts" ) ;
155- for ( i, mut post) in & mut posts. iter_mut ( ) . enumerate ( ) {
155+ for ( i, post) in & mut posts. iter_mut ( ) . enumerate ( ) {
156156 trace ! ( "Generating {}" , post. url_path) ;
157157
158158 // posts are in reverse date order, so previous post is the next in the list (+1)
Original file line number Diff line number Diff line change 11// Deny warnings, except in dev mode
22#![ deny( warnings) ]
3- // #![deny(missing_docs)]
3+ #![ allow( unknown_lints) ]
4+ #![ allow( unused_doc_comment) ] // error-chain 0.11 should fix this.
45#![ cfg_attr( feature="dev" , warn( warnings) ) ]
56
67// Stuff we want clippy to ignore
You can’t perform that action at this time.
0 commit comments