Skip to content

Commit a8b8c49

Browse files
committed
Remove double line breaks from behaviour-considered-undefined
1 parent 6943bc1 commit a8b8c49

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/behavior-considered-undefined.md

-3
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ to be larger than `isize::MAX`.
177177

178178
r[undefined.validity]
179179

180-
181180
r[undefined.validity.general]
182181
The Rust compiler assumes that all values produced during program execution are
183182
"valid", and producing an invalid value is hence immediate UB.
@@ -200,7 +199,6 @@ r[undefined.validity.scalar]
200199
* An integer (`i*`/`u*`), floating point value (`f*`), or raw pointer must be
201200
initialized, i.e., must not be obtained from [uninitialized memory][undef].
202201

203-
204202
r[undefined.validity.str]
205203
* A `str` value is treated like `[u8]`, i.e. it must be initialized.
206204

@@ -244,7 +242,6 @@ a restricted set of valid values. In other words, the only cases in which
244242
reading uninitialized memory is permitted are inside `union`s and in "padding"
245243
(the gaps between the fields of a type).
246244

247-
248245
[`bool`]: types/boolean.md
249246
[`const`]: items/constant-items.md
250247
[noalias]: http://llvm.org/docs/LangRef.html#noalias

0 commit comments

Comments
 (0)