Skip to content

Commit

Permalink
Fix warnings, lazy_cell now stable
Browse files Browse the repository at this point in the history
  • Loading branch information
iovxw committed Dec 22, 2024
1 parent a0eae53 commit 4e70fe7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![feature(error_reporter)]
#![feature(lazy_cell)]
#![recursion_limit = "256"]

use std::convert::TryInto;
Expand Down Expand Up @@ -67,9 +66,8 @@ pub struct Opt {
)]
// default is 12 hours
max_interval: u32,
/// Maximum feed size, 0 is unlimited.
/// Maximum feed size, 0 is unlimited
#[structopt(long, value_name = "bytes", default_value = "2M")]
// Default is 2M.
max_feed_size: String,
/// Private mode, only specified user can use this bot.
/// This argument can be passed multiple times to allow multiple admins
Expand Down

0 comments on commit 4e70fe7

Please sign in to comment.