diff --git a/cranelift/codegen/src/ir/immediates.rs b/cranelift/codegen/src/ir/immediates.rs index 473a8e5ed3b7..ca9f8a978c5e 100644 --- a/cranelift/codegen/src/ir/immediates.rs +++ b/cranelift/codegen/src/ir/immediates.rs @@ -69,7 +69,7 @@ impl Imm64 { Self(self.0.wrapping_neg()) } - /// Return bits of this immediate. + /// Returns the value of this immediate. pub fn bits(&self) -> i64 { self.0 }