File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ which syntactic form it matches.
470
470
* ` ty ` : a type. Examples: ` i32 ` ; ` Vec<(char, String)> ` ; ` &T ` .
471
471
* ` pat ` : a pattern. Examples: ` Some(t) ` ; ` (17, 'a') ` ; ` _ ` .
472
472
* ` stmt ` : a single statement. Example: ` let x = 3 ` .
473
- * ` block ` : a brace-delimited sequence of statements and optional an expression. Example:
473
+ * ` block ` : a brace-delimited sequence of statements and optionally an expression. Example:
474
474
` { log(error, "hi"); return 12; } ` .
475
475
* ` item ` : an [ item] [ item ] . Examples: ` fn foo() { } ` ; ` struct Bar; ` .
476
476
* ` meta ` : a "meta item", as found in attributes. Example: ` cfg(target_os = "windows") ` .
@@ -509,7 +509,7 @@ A macro defined within the body of a single `fn`, or anywhere else not at
509
509
module scope, is visible only within that item.
510
510
511
511
If a module has the ` macro_use ` attribute, its macros are also visible in its
512
- parent module after its ` mod ` item. If the parent also has ` macro_use `
512
+ parent module after the child’s ` mod ` item. If the parent also has ` macro_use `
513
513
then the macros will be visible in the grandparent after the parent’s ` mod `
514
514
item, and so forth.
515
515
You can’t perform that action at this time.
0 commit comments