Skip to content

Commit 06994b6

Browse files
authored
Merge pull request #1696 from ehuss/fix-trailing-1
Fix paragraphs with trailing `\1`
2 parents f2fc6a1 + 1e6b3a6 commit 06994b6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/items/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A module is a container for zero or more [items].
1717
r[items.mod.def]
1818
A _module item_ is a module, surrounded in braces, named, and prefixed with the
1919
keyword `mod`. A module item introduces a new, named module into the tree of
20-
modules making up a crate\1
20+
modules making up a crate.
2121

2222
r[items.mod.nesting]
2323
Modules can nest arbitrarily.

src/types/function-item.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ r[type.fn-item]
44

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

99
r[type.fn-item.unique]
1010
That type explicitly identifies the function - its name, its type arguments, and its

src/types/impl-trait.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn capture<'a, 'b, T>(x: &'a (), y: T) -> impl Sized + use<'a, T> {
140140
```
141141

142142
r[type.impl-trait.generic-capture.precise.constraint-single]
143-
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
143+
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.
144144

145145
r[type.impl-trait.generic-capture.precise.constraint-lifetime]
146146
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.

src/types/textual.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ not a surrogate), represented as a 32-bit unsigned word in the 0x0000 to 0xD7FF
1111
or 0xE000 to 0x10FFFF range.
1212

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

0 commit comments

Comments
 (0)