Skip to content

Commit ddf49af

Browse files
committed
Remove "two's complement unsigned" integer type descriptions from docs, nurr.
1 parent fc4338e commit ddf49af

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

doc/rust.texi

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,11 +1829,10 @@ type. @xref{Ref.Mem.Slot}. The interpretation of a value includes:
18291829
@item Whether the value is mutable or immutable.
18301830
@end itemize
18311831

1832-
For example, the type @code{rec(u8 x, u8 y)} defines the
1833-
interpretation of values that are composite records, each containing
1834-
two unsigned two's complement 8-bit integers accessed through the
1835-
components @code{x} and @code{y}, and laid out in memory with the
1836-
@code{x} component preceding the @code{y} component.
1832+
For example, the type @code{rec(u8 x, u8 y)} defines the interpretation of
1833+
values that are composite records, each containing two unsigned 8-bit
1834+
integers accessed through the components @code{x} and @code{y}, and laid
1835+
out in memory with the @code{x} component preceding the @code{y} component.
18371836

18381837
Some types are @emph{recursive}. A recursive type is one that includes
18391838
its own definition as a component, by named reference. Recursive types
@@ -1903,8 +1902,8 @@ The machine types are the following:
19031902

19041903
@itemize
19051904
@item
1906-
The unsigned two's complement word types @code{u8}, @code{u16}, @code{u32} and
1907-
@code{u64}, with values drawn from the integer intervals
1905+
The unsigned word types @code{u8}, @code{u16}, @code{u32} and @code{u64},
1906+
with values drawn from the integer intervals
19081907
@iftex
19091908
@math{[0, 2^8 - 1]},
19101909
@math{[0, 2^{16} - 1]},
@@ -1951,7 +1950,7 @@ The IEEE 754 single-precision and double-precision floating-point types:
19511950

19521951

19531952
The Rust type @code{uint}@footnote{A Rust @code{uint} is analogous to a C99
1954-
@code{uintptr_t}.} is a two's complement unsigned integer type with with
1953+
@code{uintptr_t}.} is an unsigned integer type with with
19551954
target-machine-dependent size. Its size, in bits, is equal to the number of
19561955
bits required to hold any memory address on the target machine.
19571956

0 commit comments

Comments
 (0)