Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Nov 20, 2023
1 parent 6ff94af commit 0794b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/src/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn build() -> Result<()> {
pub fn iter(workspace: bool) -> Result<impl Iterator<Item = Result<PathBuf>>> {
#[allow(unknown_lints, env_cargo_path)]
let path_buf = Path::new(env!("CARGO_MANIFEST_DIR")).join("../examples");
// smoelius: Using `cargo_util::paths::normalize_path` instead of `canonicalize` so as not to
// smoelius: Use `cargo_util::paths::normalize_path` instead of `canonicalize` so as not to
// "taint" the path with a path prefix on Windows.
let examples = cargo_util::paths::normalize_path(&path_buf);
let iter = WalkDir::new(examples)
Expand Down

0 comments on commit 0794b9d

Please sign in to comment.