Skip to content

Commit b20355e

Browse files
committed
Remove double line breaks from behaviour-considered-undefined
1 parent 20f2aa4 commit b20355e

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
@@ -176,7 +176,6 @@ to be larger than `isize::MAX`.
176176

177177
r[undefined.validity]
178178

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

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

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

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

0 commit comments

Comments
 (0)