Skip to content

Commit

Permalink
Remove extraneous trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chorman0773 committed Sep 19, 2024
1 parent 499a5ed commit 07e0394
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/types/function-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ r[type.fn-item]

r[type.fn-item.intro]
When referred to, a function item, or the constructor of a tuple-like struct or
enum variant, yields a zero-sized value of its _function item type_.
enum variant, yields a zero-sized value of its _function item type_\1

r[type.fn-item.unique]
That type explicitly identifies the function - its name, its type arguments, and its
Expand Down
4 changes: 2 additions & 2 deletions src/types/impl-trait.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ r[type.impl-trait.generic-capture.auto.intro]
Return-position `impl Trait` abstract types automatically capture certain of the in-scope generic parameters. Everywhere, these automatically capture all in-scope type and const generic parameters.

r[type.impl-trait.generic-capture.auto.trait]
On items of trait impls and trait definitions, these types additionally automatically capture all in-scope generic lifetime parameters, including higher-ranked ones.
On items of trait impls and trait definitions, these types additionally automatically capture all in-scope generic lifetime parameters, including higher-ranked ones\1

r[type.impl-trait.generic-capture.auto.fn]
On free functions and on associated functions and methods of inherent impls, only the generic lifetime parameters that appear in the bounds of abstract return type are captured.
Expand All @@ -143,7 +143,7 @@ fn capture<'a, 'b, T>(x: &'a (), y: T) -> impl Sized + use<'a, T> {
```

r[type.impl-trait.generic-capture.precise.constraint-single]
Currently, only one `use<..>` bound may be present in a bounds list, such bounds are not allowed in the signature of items of a trait definition, all in-scope type and const generic parameters must be included, and all lifetime parameters that appear in other bounds of the abstract type must be included.
Currently, only one `use<..>` bound may be present in a bounds list, such bounds are not allowed in the signature of items of a trait definition, all in-scope type and const generic parameters must be included, and all lifetime parameters that appear in other bounds of the abstract type must be included\1

r[type.impl-trait.generic-capture.precise.constraint-lifetime]
Within the `use<..>` bound, any lifetime parameters present must appear before all type and const generic parameters, and the elided lifetime (`'_`) may be present if it is otherwise allowed to appear within the `impl Trait` return type.
Expand Down
2 changes: 1 addition & 1 deletion src/types/textual.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ not a surrogate), represented as a 32-bit unsigned word in the 0x0000 to 0xD7FF
or 0xE000 to 0x10FFFF range.

r[type.text.char-precondition]
It is immediate [undefined behavior] to create a
It is immediate [undefined behavior] to create \1
`char` that falls outside this range. A `[char]` is effectively a UCS-4 / UTF-32
string of length 1.

Expand Down

0 comments on commit 07e0394

Please sign in to comment.