Skip to content

Commit ebdb258

Browse files
committed
Capitalize starts of footnotes
1 parent b0ae0c0 commit ebdb258

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/expressions/operator-expr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,17 +539,17 @@ reference types and `mut` or `const` in pointer types.
539539
| [Function pointer] | Integer | Function pointer to address cast |
540540
| Closure [^no-capture] | Function pointer | Closure to function pointer cast |
541541

542-
[^meta-compat]: where `T` and `V` have compatible metadata:
542+
[^meta-compat]: Where `T` and `V` have compatible metadata:
543543
* `V: Sized`, or
544544
* Both slice metadata (`*[u16]` -> `*[u8]`, `*str` -> `*(u8, [u32])`), or
545545
* Both the same trait object metadata, modulo dropping auto traits (`*dyn Debug` -> `*(u16, dyn Debug)`, `*dyn Debug + Send` -> `*dyn Debug`)
546546
* **Note**: *adding* auto traits is only allowed if the principal trait has the auto trait as a super trait (given `trait T: Send {}`, `*dyn T` -> `*dyn T + Send` is valid, but `*dyn Debug` -> `*dyn Debug + Send` is not)
547547
* **Note**: Generics (including lifetimes) must match (`*dyn T<'a, A>` -> `*dyn T<'b, B>` requires `'a = 'b` and `A = B`)
548548

549-
[^lessmut]: only when `m₁` is `mut` or `m₂` is `const`. Casting `mut` reference/pointer to
549+
[^lessmut]: Only when `m₁` is `mut` or `m₂` is `const`. Casting `mut` reference/pointer to
550550
`const` pointer is allowed.
551551

552-
[^no-capture]: only closures that do not capture (close over) any local variables can be casted to function pointers.
552+
[^no-capture]: Only closures that do not capture (close over) any local variables can be casted to function pointers.
553553

554554
### Semantics
555555

0 commit comments

Comments
 (0)