summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8196f1c..d76f8bf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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) => {