aboutsummaryrefslogtreecommitdiff
path: root/base/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/lib.rs')
-rw-r--r--base/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/src/lib.rs b/base/src/lib.rs
index 385ad7a..1ffaa10 100644
--- a/base/src/lib.rs
+++ b/base/src/lib.rs
@@ -3,7 +3,6 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2024 metamuffin <metamuffin.org>
*/
-#![feature(lazy_cell)]
pub mod assetfed;
pub mod cache;
pub mod database;
@@ -31,7 +30,7 @@ pub fn load_config() -> GlobalConfig {
serde_yaml::from_reader(
std::fs::File::open(std::env::var("JELLYTHING_CONFIG").unwrap_or_else(|_| {
if std::env::args()
- .nth(0)
+ .next()
.unwrap_or_default()
.ends_with("jellything")
{