Skip to content

Commit 6bd8393

Browse files
committed
fix: unintentional rename of from to T
Signed-off-by: krishna2803 <[email protected]>
1 parent 00cd464 commit 6bd8393

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc/src/__support/fixed_point/fx_bits.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ bit_and(T x, T y) {
121121
using BitType = typename FXRep<T>::StorageType;
122122
BitType x_bit = cpp::bit_cast<BitType>(x);
123123
BitType y_bit = cpp::bit_cast<BitType>(y);
124-
// For some reason, bit_cast cannot deduce BitType T the input.
124+
// For some reason, bit_cast cannot deduce BitType from the input.
125125
return cpp::bit_cast<T, BitType>(x_bit & y_bit);
126126
}
127127

@@ -131,7 +131,7 @@ bit_or(T x, T y) {
131131
using BitType = typename FXRep<T>::StorageType;
132132
BitType x_bit = cpp::bit_cast<BitType>(x);
133133
BitType y_bit = cpp::bit_cast<BitType>(y);
134-
// For some reason, bit_cast cannot deduce BitType T the input.
134+
// For some reason, bit_cast cannot deduce BitType from the input.
135135
return cpp::bit_cast<T, BitType>(x_bit | y_bit);
136136
}
137137

@@ -140,7 +140,7 @@ LIBC_INLINE constexpr cpp::enable_if_t<cpp::is_fixed_point_v<T>, T>
140140
bit_not(T x) {
141141
using BitType = typename FXRep<T>::StorageType;
142142
BitType x_bit = cpp::bit_cast<BitType>(x);
143-
// For some reason, bit_cast cannot deduce BitType T the input.
143+
// For some reason, bit_cast cannot deduce BitType from the input.
144144
return cpp::bit_cast<T, BitType>(static_cast<BitType>(~x_bit));
145145
}
146146

0 commit comments

Comments
 (0)