File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ struct Metadata {
271
271
}
272
272
273
273
#[ derive( Debug ) ]
274
- pub enum Entry {
274
+ enum Entry {
275
275
Section { title : String } ,
276
276
File { metadata : Metadata , content : String } ,
277
277
}
@@ -286,7 +286,7 @@ impl Entry {
286
286
}
287
287
288
288
/// Loads release content from files in the specified directory
289
- pub fn load_content ( dir : path:: PathBuf , kind : & ' static str ) -> Result < Vec < Entry > > {
289
+ fn load_content ( dir : path:: PathBuf , kind : & ' static str ) -> Result < Vec < Entry > > {
290
290
let re = Regex :: new ( r"(?s)^---\s*\n(.*?)\n---\n(.*)" ) . unwrap ( ) ;
291
291
292
292
let mut entries = vec ! [ ] ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ fn main() -> Result<()> {
27
27
}
28
28
29
29
fn run_app < B : Backend > ( terminal : & mut Terminal < B > ) -> Result < ( ) > {
30
- let mut app = App :: new ( ) ?;
30
+ let app = App :: new ( ) ?;
31
31
app. run ( terminal)
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments