about summary refs log tree commit diff
path: root/compiler/stable_mir/src/target.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/stable_mir/src/target.rs')
-rw-r--r--compiler/stable_mir/src/target.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stable_mir/src/target.rs b/compiler/stable_mir/src/target.rs
index 3a9011a2ffe..e00a418c540 100644
--- a/compiler/stable_mir/src/target.rs
+++ b/compiler/stable_mir/src/target.rs
@@ -14,7 +14,7 @@ impl MachineInfo {
         with(|cx| cx.target_info())
     }
 
-    pub fn target_endianess() -> Endian {
+    pub fn target_endianness() -> Endian {
         with(|cx| cx.target_info().endian)
     }