Skip to content

Commit 4b6db4e

Browse files
committed
Put backticks around impl Trait
1 parent a89f927 commit 4b6db4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/2024-10-17-Rust-1.82.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ The Rust target `aarch64-apple-darwin` for macOS on 64-bit ARM (M1-family or lat
5959

6060
### Precise capturing `use<..>` syntax
6161

62-
Rust now supports `use<..>` syntax within certain impl Trait bounds to control which generic lifetime parameters are captured.
62+
Rust now supports `use<..>` syntax within certain `impl Trait` bounds to control which generic lifetime parameters are captured.
6363

64-
Return-position impl Trait (RPIT) types in Rust *capture* certain generic parameters. Capturing a generic parameter allows that parameter to be used in the hidden type. That in turn affects borrow checking.
64+
Return-position `impl Trait` (RPIT) types in Rust *capture* certain generic parameters. Capturing a generic parameter allows that parameter to be used in the hidden type. That in turn affects borrow checking.
6565

6666
In Rust 2021 and earlier editions, lifetime parameters are not captured in opaque types on bare functions and on functions and methods of inherent impls unless those lifetime parameters are mentioned syntactically in the opaque type. E.g., this is an error:
6767

0 commit comments

Comments
 (0)