Skip to content

Commit f66f033

Browse files
authored
Merge pull request #868 from ehuss/update-token-links
Update token usage table.
2 parents 0c4059d + 3dafca5 commit f66f033

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/tokens.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -555,13 +555,13 @@ usages and meanings are defined in the linked pages.
555555
|--------|-------------|-------|
556556
| `+` | Plus | [Addition][arith], [Trait Bounds], [Macro Kleene Matcher][macros]
557557
| `-` | Minus | [Subtraction][arith], [Negation]
558-
| `*` | Star | [Multiplication][arith], [Dereference], [Raw Pointers], [Macro Kleene Matcher][macros]
558+
| `*` | Star | [Multiplication][arith], [Dereference], [Raw Pointers], [Macro Kleene Matcher][macros], [Use wildcards]
559559
| `/` | Slash | [Division][arith]
560560
| `%` | Percent | [Remainder][arith]
561561
| `^` | Caret | [Bitwise and Logical XOR][arith]
562-
| `!` | Not | [Bitwise and Logical NOT][negation], [Macro Calls][macros], [Inner Attributes][attributes], [Never Type]
562+
| `!` | Not | [Bitwise and Logical NOT][negation], [Macro Calls][macros], [Inner Attributes][attributes], [Never Type], [Negative impls]
563563
| `&` | And | [Bitwise and Logical AND][arith], [Borrow], [References], [Reference patterns]
564-
| <code>\|</code> | Or | [Bitwise and Logical OR][arith], [Closures], [Match]
564+
| <code>\|</code> | Or | [Bitwise and Logical OR][arith], [Closures], Patterns in [match], [if let], and [while let]
565565
| `&&` | AndAnd | [Lazy AND][lazy-bool], [Borrow], [References], [Reference patterns]
566566
| <code>\|\|</code> | OrOr | [Lazy OR][lazy-bool], [Closures]
567567
| `<<` | Shl | [Shift Left][arith], [Nested Generics][generics]
@@ -584,7 +584,7 @@ usages and meanings are defined in the linked pages.
584584
| `>=` | Ge | [Greater than or equal to][comparison], [Generics]
585585
| `<=` | Le | [Less than or equal to][comparison]
586586
| `@` | At | [Subpattern binding]
587-
| `_` | Underscore | [Wildcard patterns], [Inferred types]
587+
| `_` | Underscore | [Wildcard patterns], [Inferred types], Unnamed items in [constants], [extern crates], and [use declarations]
588588
| `.` | Dot | [Field access][field], [Tuple index]
589589
| `..` | DotDot | [Range][range], [Struct expressions], [Patterns]
590590
| `...` | DotDotDot | [Variadic functions][extern], [Range patterns]
@@ -593,7 +593,7 @@ usages and meanings are defined in the linked pages.
593593
| `;` | Semi | Terminator for various items and statements, [Array types]
594594
| `:` | Colon | Various separators
595595
| `::` | PathSep | [Path separator][paths]
596-
| `->` | RArrow | [Function return type][functions], [Closure return type][closures]
596+
| `->` | RArrow | [Function return type][functions], [Closure return type][closures], [Function pointer type]
597597
| `=>` | FatArrow | [Match arms][match], [Macros]
598598
| `#` | Pound | [Attributes]
599599
| `$` | Dollar | [Macros]
@@ -625,17 +625,22 @@ them are referred to as "token trees" in [macros]. The three types of brackets
625625
[closures]: expressions/closure-expr.md
626626
[comparison]: expressions/operator-expr.md#comparison-operators
627627
[compound]: expressions/operator-expr.md#compound-assignment-expressions
628+
[constants]: items/constant-items.md
628629
[dereference]: expressions/operator-expr.md#the-dereference-operator
630+
[extern crates]: items/extern-crates.md
629631
[extern]: items/external-blocks.md
630632
[field]: expressions/field-expr.md
633+
[function pointer type]: types/function-pointer.md
631634
[functions]: items/functions.md
632635
[generics]: items/generics.md
633636
[identifier]: identifiers.md
637+
[if let]: expressions/if-expr.md#if-let-expressions
634638
[keywords]: keywords.md
635639
[lazy-bool]: expressions/operator-expr.md#lazy-boolean-operators
636640
[macros]: macros-by-example.md
637641
[match]: expressions/match-expr.md
638642
[negation]: expressions/operator-expr.md#negation-operators
643+
[negative impls]: items/implementations.md
639644
[never type]: types/never.md
640645
[paths]: paths.md
641646
[patterns]: patterns.md
@@ -650,3 +655,6 @@ them are referred to as "token trees" in [macros]. The three types of brackets
650655
[tuple structs]: items/structs.md
651656
[tuple variants]: items/enumerations.md
652657
[tuples]: types/tuple.md
658+
[use declarations]: items/use-declarations.md
659+
[use wildcards]: items/use-declarations.md
660+
[while let]: expressions/loop-expr.md#predicate-pattern-loops

0 commit comments

Comments
 (0)