Clear all unused warnings
This commit is contained in:
parent
9d8d77a356
commit
e0b0ae4bc8
3 changed files with 3 additions and 5 deletions
|
|
@ -12,6 +12,7 @@ pub struct Context {
|
|||
/// URL of the repository page
|
||||
pub repo_url: url::Url,
|
||||
/// URL of the repository with authentication information attached
|
||||
#[expect(unused)]
|
||||
pub repo_auth_url: url::Url,
|
||||
|
||||
/// Timestamp "now" to be used in comparisons
|
||||
|
|
@ -37,7 +38,7 @@ impl Context {
|
|||
}
|
||||
|
||||
pub fn new_from_dev_fallback() -> anyhow::Result<Self> {
|
||||
let mut f = std::fs::File::open(&dev_environment_path()?)
|
||||
let f = std::fs::File::open(&dev_environment_path()?)
|
||||
.context("Failed to open dev environment config")?;
|
||||
|
||||
let config: DevEnvironment =
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unused)]
|
||||
|
||||
mod collect;
|
||||
mod context;
|
||||
mod reminder;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
use crate::task;
|
||||
use crate::util;
|
||||
|
||||
use anyhow::Context as _;
|
||||
|
||||
|
|
@ -76,7 +75,7 @@ async fn remind_task(
|
|||
reminder_type: ReminderType,
|
||||
batching_interval: BatchingInterval,
|
||||
) -> anyhow::Result<()> {
|
||||
let mut body = match (reminder_type, batching_interval) {
|
||||
let body = match (reminder_type, batching_interval) {
|
||||
(ReminderType::Basic, BatchingInterval::Monthly) => format!(
|
||||
"\
|
||||
Beep boop. This task is due this month, go take care of it!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue