We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2591b50 commit 55e2065Copy full SHA for 55e2065
lading/src/generator/file_gen/logrotate_fs/model.rs
@@ -51,7 +51,7 @@ pub(crate) struct File {
51
/// happen -- or not.
52
read_only: bool,
53
54
- /// When the file became read-only. Will only be Some if read_only is false.
+ /// When the file became read-only. Will only be Some if `read_only` is false.
55
read_only_since: Option<Tick>,
56
57
/// The peer of this file, the next in line in rotation. So, if this file is
@@ -508,6 +508,7 @@ impl State {
508
///
509
/// Will panic if passed `now` is less than recorded `now`. Time can only
510
/// advance.
511
+ #[allow(clippy::too_many_lines)]
512
pub(crate) fn advance_time(&mut self, now: Tick) {
513
assert!(now >= self.now);
514
let mut inodes: Vec<Inode> = self.nodes.keys().copied().collect();
0 commit comments