Skip to content

Commit cb48526

Browse files
authored
Merge pull request #1290 from jeckersb/move-lint-docstring
lints: move misplaced docstring for LINT_VAR_RUN
2 parents df879ed + 5174458 commit cb48526

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/src/lints.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ fn lint_inner<'skip>(
299299
})
300300
}
301301

302-
/// check for the existence of the /var/run directory
303-
/// if it exists we need to check that it links to /run if not error
304-
/// if it does not exist error.
305302
#[context("Linting")]
306303
pub(crate) fn lint<'skip>(
307304
root: &Dir,
@@ -329,6 +326,8 @@ pub(crate) fn lint<'skip>(
329326
Ok(())
330327
}
331328

329+
/// check for the existence of the /var/run directory
330+
/// if it exists we need to check that it links to /run if not error
332331
#[distributed_slice(LINTS)]
333332
static LINT_VAR_RUN: Lint = Lint::new_fatal(
334333
"var-run",

0 commit comments

Comments
 (0)