mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-28 10:47:17 +00:00
cleaning
This commit is contained in:
1 parent
9afba53e5d
commit
f1904bc12f
17 files changed
+222
-310
No files matched your search
@@ -194,12 +194,11 @@ fn copy_track(track: &Track) -> Track {
|
||||
}
|
||||
|
||||
fn copy_file(file: &File) -> File {
|
||||
let mut copy = File {
|
||||
File {
|
||||
id: Default::default(),
|
||||
trk: file.trk.iter().map(copy_track).collect(),
|
||||
..file.clone()
|
||||
};
|
||||
copy
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in new issue
Block a user