Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 27, 2025
1 parent 5d7308b commit 29054b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions url/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2673,8 +2673,7 @@ impl Url {
fragment_start,
};
if cfg!(debug_assertions) {
url.check_invariants()
.map_err(Error::custom)?
url.check_invariants().map_err(Error::custom)?

Check warning on line 2676 in url/src/lib.rs

View check run for this annotation

Codecov / codecov/patch

url/src/lib.rs#L2676

Added line #L2676 was not covered by tests
}
Ok(url)
}
Expand Down

0 comments on commit 29054b6

Please sign in to comment.