Skip to content

Commit 9546c7a

Browse files
gnzlbgRalfJung
andcommitted
Update reference/src/glossary.md
Co-Authored-By: Ralf Jung <[email protected]>
1 parent 6c81407 commit 9546c7a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

reference/src/glossary.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ The *layout* of a type defines:
6464
Note: Originally, *layout* and *representation* were treated as synonyms, and Rust language features like the `#[repr]` attribute reflect this.
6565
In this document, *layout* and *representation* are not synonyms.
6666

67-
<<<<<<< HEAD
6867
#### Niche
6968

7069
The *niche* of a type determines invalid bit-patterns that will be used by layout optimizations.
@@ -78,16 +77,16 @@ While all niches are invalid bit-patterns, not all invalid bit-patterns are
7877
niches. For example, the "all bits uninitialized" is an invalid bit-pattern for
7978
`&mut T`, but this bit-pattern cannot be used by layout optimizations, and is not a
8079
niche.
81-
=======
80+
8281
Note: due to discriminant-elision optimizations, niches are required to compute
8382
the layout of, e.g., `Option<T>`, from the layout of `T`.
84-
>>>>>>> Add note about why niches need to be part of the layout
83+
8584

8685
#### Call ABI
8786

8887
The *call ABI* determines how a type is passed *by value* across a function boundary.
8988

90-
Note: The call ABI is not stable. Currently, it is one of:
89+
Note: The set of possible call ABIs is not stable. Currently, it consists of:
9190

9291
```rust,ignore
9392
enum Abi {

0 commit comments

Comments
 (0)