Skip to content
Myr

refactor: replace `map_err` with `expect`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Karthik Prakash · committed by skoriop · parent 8c50bc7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Thayne McCombs <astrothayne@gmail.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/walk.rs+1 added-1 removed
68 unmodified lines
6970 if config.read_vcsignore {71 override_builder72 .add("!.git")73 .map_err(|e| anyhow!("Malformed default exclude pattern: {}", e))?;73 .expect("Invalid exclude pattern");74 }7576 let overrides = override_builder77 .build()
475 unmodified lines