Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 9, 2024
1 parent 784f906 commit c18adb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/general/abs_home_path/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### What it does
Checks for string literals that are absolute paths into the user's home directory, e.g.,
`env!(CARGO_MANIFEST_DIR)`.
`env!("CARGO_MANIFEST_DIR")`.

### Why is this bad?
The path might not exist when the code is used in production.
Expand Down
2 changes: 1 addition & 1 deletion examples/general/abs_home_path/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use std::{
dylint_linting::impl_late_lint! {
/// ### What it does
/// Checks for string literals that are absolute paths into the user's home directory, e.g.,
/// `env!(CARGO_MANIFEST_DIR)`.
/// `env!("CARGO_MANIFEST_DIR")`.
///
/// ### Why is this bad?
/// The path might not exist when the code is used in production.
Expand Down

0 comments on commit c18adb1

Please sign in to comment.