diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -117,14 +117,12 @@ impl VersionLevel { | |||
117 | let release = versions | 117 | let release = versions |
118 | .find(|ver| ver.version_type == GameVersionType::release) | 118 | .find(|ver| ver.version_type == GameVersionType::release) |
119 | .unwrap(); | 119 | .unwrap(); |
120 | println!("{:?}", release); | ||
121 | Ok(release.version) | 120 | Ok(release.version) |
122 | } | 121 | } |
123 | VersionLevel::Snapshot => { | 122 | VersionLevel::Snapshot => { |
124 | let snapshot = versions | 123 | let snapshot = versions |
125 | .find(|ver| ver.version_type == GameVersionType::snapshot) | 124 | .find(|ver| ver.version_type == GameVersionType::snapshot) |
126 | .unwrap(); | 125 | .unwrap(); |
127 | println!("{:?}", snapshot); | ||
128 | Ok(snapshot.version) | 126 | Ok(snapshot.version) |
129 | } | 127 | } |
130 | VersionLevel::Version(v) => { | 128 | VersionLevel::Version(v) => { |