Skip to content

Commit 791a7b5

Browse files
authored
Update remappings.rs
1 parent 5de3d53 commit 791a7b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/artifacts/solc/src/remappings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ fn find_remapping_candidates(
723723

724724
// need to find the actual next window in the event `open` is a lib dir
725725
let window_start = next_nested_window(open, current_dir);
726-
// finally, we need to merge, adjust candidates from the same level and opening window
726+
// finally, we need to merge, adjust candidates from the same level and open window
727727
if is_candidate
728728
|| candidates
729729
.iter()
@@ -771,7 +771,7 @@ fn dir_distance(root: &Path, current: &Path) -> usize {
771771
}
772772

773773
/// This finds the next window between `root` and `current`
774-
/// If `root` ends with a `lib` component then start join components from `current` until no valid
774+
/// If `root` ends with a `lib` component then start joining components from `current` until no valid
775775
/// window opener is found
776776
fn next_nested_window(root: &Path, current: &Path) -> PathBuf {
777777
if !is_lib_dir(root) || root == current {

0 commit comments

Comments
 (0)