Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekun Wang committed Oct 2, 2024
1 parent 44175bf commit 5f398a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/move/move-compiler/src/shared/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ pub enum LanguageVersion {
}

impl LanguageVersion {
fn to_ordinal(&self) -> usize {
fn to_ordinal(self) -> usize {
match self {
LanguageVersion::V1 => 0,
LanguageVersion::V2 => 1,
Expand Down

0 comments on commit 5f398a4

Please sign in to comment.