summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-26 17:45:08 +0200
committerfxqnlr <[email protected]>2023-05-26 17:45:08 +0200
commit7755c9acf6b8a1d81c03ef1138e80a162f36e743 (patch)
treee3d6bf87ba5fb4cde0ddb39dcf2b450cc1ff683c /src/lib.rs
parent2d7e0a2fbf1c8a4187e2bf3fdcd592631ab273a0 (diff)
downloadmodlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.tar
modlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.tar.gz
modlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.zip
removed all println!
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) => {