Skip to content

Commit

Permalink
Clippy-suggested fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Sep 10, 2024
1 parent 5adcb5a commit 4349855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use std::path::{Path, PathBuf};
use std::usize;

use anyhow::{anyhow, Result};
use log::LevelFilter;
Expand All @@ -24,8 +23,9 @@ pub const USER_AGENT: &str = concat!(crate_name!(), "/", crate_version!());
/// that it becomes, if unreferenced, eligible for cleanup.
pub const DEFAULT_CLEANUP_SECONDS: &str = "3600"; // 60 minutes

/// The default location to write our process ID to so that on invocation we can
/// check if we are already running. Cleared on boot according to the Linux FHS.
/// The default location to write our process ID.
///
/// Cleared on boot according to the Linux FHS.
/// See: https://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
pub const DEFAULT_PID_FILE_PATH: &str = concat!("/var/run/", crate_name!(), ".pid");

Expand Down

0 comments on commit 4349855

Please sign in to comment.