From 392cbaac96c1d3731a91761bd4ad838030590bd0 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Tue, 12 Nov 2024 21:44:58 +0700 Subject: [PATCH] Fix typos (cherry picked from commit af9d6cb29db40cce7ffac8501cad39836a690dd6) --- packages/std/src/math/signed_decimal_256.rs | 2 +- packages/vm/src/modules/file_system_cache.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/std/src/math/signed_decimal_256.rs b/packages/std/src/math/signed_decimal_256.rs index e994bd7bac..3266c0b180 100644 --- a/packages/std/src/math/signed_decimal_256.rs +++ b/packages/std/src/math/signed_decimal_256.rs @@ -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)) } diff --git a/packages/vm/src/modules/file_system_cache.rs b/packages/vm/src/modules/file_system_cache.rs index 21ca1efbe8..004e48e09a 100644 --- a/packages/vm/src/modules/file_system_cache.rs +++ b/packages/vm/src/modules/file_system_cache.rs @@ -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()