Skip to content

Commit

Permalink
fix: remove some duplicate words in msgs (#20766)
Browse files Browse the repository at this point in the history
## Description 

spotted some abundant words in msgs and removed them.
  • Loading branch information
tianyeyouyou authored Jan 3, 2025
1 parent 284d4e1 commit cb7ae89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ macro_rules! diag {

pub const ICE_BUG_REPORT_MESSAGE: &str =
"The Move compiler has encountered an internal compiler error.\n \
Please report this this issue to the Mysten Labs Move language team,\n \
Please report this issue to the Mysten Labs Move language team,\n \
including this error and any relevant code, to the Mysten Labs issue tracker\n \
at : https://github.com/MystenLabs/sui/issues";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ fn deprecations(
if deprecations.len() != 1 {
reporter.add_diag(ice!((
source_location,
"ICE: verified that there is at at least one deprecation attribute above, \
"ICE: verified that there is at least one deprecation attribute above, \
and expansion should have failed if there were multiple deprecation attributes."
)));
return None;
Expand Down
2 changes: 1 addition & 1 deletion sui-execution/latest/sui-move-natives/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ fn unpack_struct<const N: usize>(s: Value) -> PartialVMResult<[Value; N]> {
let s: Struct = s.value_as()?;
s.unpack()?.collect::<Vec<_>>().try_into().map_err(|e| {
PartialVMError::new(StatusCode::UNKNOWN_INVARIANT_VIOLATION_ERROR)
.with_message(format!("struct expected to have have {N} fields: {e:?}"))
.with_message(format!("struct expected to have {N} fields: {e:?}"))
})
}

Expand Down

0 comments on commit cb7ae89

Please sign in to comment.