diff options
Diffstat (limited to 'crates/ra_hir/src/ty/primitive.rs')
-rw-r--r-- | crates/ra_hir/src/ty/primitive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/primitive.rs b/crates/ra_hir/src/ty/primitive.rs index 62b75b764..2c60fefd6 100644 --- a/crates/ra_hir/src/ty/primitive.rs +++ b/crates/ra_hir/src/ty/primitive.rs | |||
@@ -131,7 +131,7 @@ impl IntTy { | |||
131 | IntTy { signedness: Signedness::Unsigned, bitness: IntBitness::X128 } | 131 | IntTy { signedness: Signedness::Unsigned, bitness: IntBitness::X128 } |
132 | } | 132 | } |
133 | 133 | ||
134 | pub(crate) fn ty_to_string(&self) -> &'static str { | 134 | pub(crate) fn ty_to_string(self) -> &'static str { |
135 | match (self.signedness, self.bitness) { | 135 | match (self.signedness, self.bitness) { |
136 | (Signedness::Signed, IntBitness::Xsize) => "isize", | 136 | (Signedness::Signed, IntBitness::Xsize) => "isize", |
137 | (Signedness::Signed, IntBitness::X8) => "i8", | 137 | (Signedness::Signed, IntBitness::X8) => "i8", |