Skip to content

Commit

Permalink
fix(semver-check): adapt to a different error for variant not covered
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Nov 3, 2022
1 parent 810cbad commit bc16cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ pub enum E {
fn main() {
use updated_crate::E;
let x = E::Variant1;
match x { // Error: `Variant2` not covered
match x { // Error: `E::Variant2` not covered
E::Variant1 => {}
}
}
Expand Down

0 comments on commit bc16cdb

Please sign in to comment.