Skip to content

Commit

Permalink
Merge pull request #2297 from CosmWasm/co/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
chipshort authored Nov 12, 2024
2 parents e6acdfc + af9d6cb commit b5ee955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/std/src/math/signed_decimal_256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl SignedDecimal256 {
/// Create a -1.0 SignedDecimal256
#[inline]
pub const fn negative_one() -> Self {
// -DECIMAL_FRATIONAL
// -DECIMAL_FRACTIONAL
Self(Int256::from_i128(-1_000_000_000_000_000_000))
}

Expand Down
6 changes: 3 additions & 3 deletions packages/vm/src/modules/file_system_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,17 +448,17 @@ mod tests {
};
let target = Target::new(triple, wasmer::CpuFeature::POPCNT.into());
let p = modules_path(&base, 17, &target);
let descriminator = raw_module_version_discriminator();
let discriminator = raw_module_version_discriminator();

assert_eq!(
p.as_os_str(),
if cfg!(windows) {
format!(
"modules\\{descriminator}-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
"modules\\{discriminator}-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
)
} else {
format!(
"modules/{descriminator}-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
"modules/{discriminator}-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
)
}
.as_str()
Expand Down

0 comments on commit b5ee955

Please sign in to comment.