Lints
This commit is contained in:
parent
7279793d25
commit
11775d961b
2 changed files with 1 additions and 3 deletions
src/app
|
@ -14,7 +14,6 @@ mod update;
|
|||
|
||||
pub use self::query::*;
|
||||
pub use self::types::*;
|
||||
pub use self::update::*;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Index {
|
||||
|
|
|
@ -98,8 +98,7 @@ impl Manager {
|
|||
}
|
||||
}
|
||||
|
||||
let mut new_songs: Vec<NewPlaylistSong> = Vec::new();
|
||||
new_songs.reserve(content.len());
|
||||
let mut new_songs: Vec<NewPlaylistSong> = Vec::with_capacity(content.len());
|
||||
|
||||
for (i, path) in content.iter().enumerate() {
|
||||
let virtual_path = Path::new(&path);
|
||||
|
|
Loading…
Add table
Reference in a new issue