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