Skip to content

Commit 2a2de9c

Browse files
authored
Merge pull request #560 from ehuss/remove-ref-links
Remove unused link references.
2 parents 6a19ed3 + 2fca10d commit 2a2de9c

29 files changed

+1
-63
lines changed

src/attributes/testing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,3 @@ fn mytest() {
8787
[`Termination`]: ../std/process/trait.Termination.html
8888
[`test` conditional compilation option]: conditional-compilation.html#test
8989
[attributes]: attributes.html
90-
[trait or lifetime bounds]: trait-bounds.html
91-
[where clauses]: items/generics.html#where-clauses

src/crates-and-source-files.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,10 @@ or `-` (U+002D) characters.
163163
[`extern crate`]: items/extern-crates.html
164164
[`std`]: ../std/index.html
165165
[`std::prelude::v1`]: ../std/prelude/index.html
166-
[`use` declaration]: items/use-declarations.html
167166
[attribute]: attributes.html
168167
[attributes]: attributes.html
169168
[function]: items/functions.html
170169
[module]: items/modules.html
171170
[module path]: paths.html
172171
[trait or lifetime bounds]: trait-bounds.html
173-
[unit]: types.html#tuple-types
174172
[where clauses]: items/generics.html#where-clauses

src/destructors.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,4 @@ variable or field from being dropped automatically.
8989
[closure]: types/closure.html
9090
[Trait objects]: types/trait-object.html
9191
[`std::ptr::drop_in_place`]: ../std/ptr/fn.drop_in_place.html
92-
[`std::mem::forget`]: ../std/mem/fn.forget.html
9392
[`std::mem::ManuallyDrop`]: ../std/mem/struct.ManuallyDrop.html

src/expressions.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -283,34 +283,25 @@ They are never allowed before:
283283

284284
[block expressions]: expressions/block-expr.html
285285
[call expressions]: expressions/call-expr.html
286-
[closure expressions]: expressions/closure-expr.html
287286
[enum variant]: expressions/enum-variant-expr.html
288287
[field]: expressions/field-expr.html
289288
[functional update]: expressions/struct-expr.html#functional-update-syntax
290-
[grouped]: expressions/grouped-expr.html
291289
[`if let`]: expressions/if-expr.html#if-let-expressions
292-
[literals]: expressions/literal-expr.html
293290
[match]: expressions/match-expr.html
294291
[method-call]: expressions/method-call-expr.html
295292
[paths]: expressions/path-expr.html
296-
[range expressions]: expressions/range-expr.html
297293
[struct]: expressions/struct-expr.html
298294
[tuple expressions]: expressions/tuple-expr.html
299295
[`while let`]: expressions/loop-expr.html#predicate-pattern-loops
300296

301297
[array expressions]: expressions/array-expr.html
302298
[array indexing]: expressions/array-expr.html#array-and-slice-indexing-expressions
303299

304-
[arithmetic, logical]: expressions/operator-expr.html#arithmetic-and-logical-binary-operators
305300
[assign]: expressions/operator-expr.html#assignment-expressions
306301
[borrow]: expressions/operator-expr.html#borrow-operators
307-
[cast]: expressions/operator-expr.html#type-cast-expressions
308302
[comparison]: expressions/operator-expr.html#comparison-operators
309303
[compound assignment]: expressions/operator-expr.html#compound-assignment-expressions
310304
[deref]: expressions/operator-expr.html#the-dereference-operator
311-
[lazy boolean]: expressions/operator-expr.html#lazy-boolean-operators
312-
[negation]: expressions/operator-expr.html#negation-operators
313-
[overflow]: expressions/operator-expr.html#overflow
314305

315306
[destructors]: destructors.html
316307
[interior mutability]: interior-mutability.html
@@ -323,7 +314,6 @@ They are never allowed before:
323314
[let]: statements.html#let-statements
324315
[let statement]: statements.html#let-statements
325316
[Mutable `static` items]: items/static-items.html#mutable-statics
326-
[const contexts]: const_eval.html
327317
[scrutinee]: glossary.html#scrutinee
328318
[slice]: types/slice.html
329319
[statement]: statements.html

src/expressions/block-expr.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ fn is_unix_platform() -> bool {
140140
[array expressions]: expressions/array-expr.html
141141
[call expressions]: expressions/call-expr.html
142142
[enum variant]: expressions/enum-variant-expr.html
143-
[expression attributes]: expressions.html#expression-attributes
144-
[expression]: expressions.html
145143
[function]: items/functions.html
146144
[inner attributes]: attributes.html
147145
[method]: items/associated-items.html#methods

src/expressions/closure-expr.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ ten_times(move |j| println!("{}, {}", word, j));
7474
[_Expression_]: expressions.html
7575
[_BlockExpression_]: expressions/block-expr.html
7676
[_TypeNoBounds_]: types.html#type-expressions
77-
[_FunctionParameters_]: items/functions.html
7877
[_Pattern_]: patterns.html
7978
[_Type_]: types.html#type-expressions
8079
[`let` binding]: statements.html#let-statements

src/expressions/loop-expr.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ and the `loop` must have a type compatible with each `break` expression.
282282
`break` without an expression is considered identical to `break` with
283283
expression `()`.
284284

285-
[IDENTIFIER]: identifiers.html
286285
[LIFETIME_OR_LABEL]: tokens.html#lifetimes-and-loop-labels
287286
[_BlockExpression_]: expressions/block-expr.html
288287
[_Expression_]: expressions.html

src/expressions/match-expr.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,7 @@ expressions].
147147
148148
[_Pattern_]: patterns.html
149149
[pattern]: patterns.html
150-
[Identifier Patterns]: patterns.html#identifier-patterns
151150
[Inner attributes]: attributes.html
152-
[Struct Patterns]: patterns.html#struct-patterns
153-
[Tuple Struct Patterns]: patterns.html#tuplestruct-patterns
154-
[Tuple Patterns]: patterns.html#tuple-patterns
155151
[Range Pattern]: patterns.html#range-patterns
156152
[attributes on block expressions]: expressions/block-expr.html#attributes-on-block-expressions
157153
[binding mode]: patterns.html#binding-modes

src/expressions/method-call-expr.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ method and you'll be fine.
101101
[_Expression_]: expressions.html
102102
[_PathExprSegment_]: paths.html#paths-in-expressions
103103
[visible]: visibility-and-privacy.html
104-
[array]: types/array.html
105104
[trait objects]: types/trait-object.html
106105
[disambiguate call]: expressions/call-expr.html#disambiguating-function-calls
107106
[disambiguating function call syntax]: expressions/call-expr.html#disambiguating-function-calls

src/expressions/struct-expr.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ expressions].
151151
[loop]: expressions/loop-expr.html
152152
[match]: expressions/match-expr.html
153153
[parentheses]: http://localhost:3000/expressions/grouped-expr.html
154-
[path]: paths.html
155154
[struct]: items/structs.html
156155
[union]: items/unions.html
157156
[visible]: visibility-and-privacy.html

0 commit comments

Comments
 (0)