diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-11-28 14:23:49 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-11-30 12:17:54 +0000 |
| commit | 46ba1545b89020486fb9da460e9f3b7b60e83c40 (patch) | |
| tree | 3d7877ee4b8395a1e7abcfba4089237453c45a2e /compiler/rustc_lint | |
| parent | 147b854dede7b0dda933e24f6ee6c8dd30323a7e (diff) | |
| download | rust-46ba1545b89020486fb9da460e9f3b7b60e83c40.tar.gz rust-46ba1545b89020486fb9da460e9f3b7b60e83c40.zip | |
Update documentation
Diffstat (limited to 'compiler/rustc_lint')
| -rw-r--r-- | compiler/rustc_lint/src/pass_by_value.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/pass_by_value.rs b/compiler/rustc_lint/src/pass_by_value.rs index cf1d82f4c06..0fa81b7e4e0 100644 --- a/compiler/rustc_lint/src/pass_by_value.rs +++ b/compiler/rustc_lint/src/pass_by_value.rs @@ -10,7 +10,7 @@ declare_tool_lint! { /// The `rustc_pass_by_value` lint marks a type with `#[rustc_pass_by_value]` requiring it to /// always be passed by value. This is usually used for types that are thin wrappers around /// references, so there is no benefit to an extra layer of indirection. (Example: `Ty` which - /// is a reference to an `Interned<TyS>`) + /// is a reference to an `Interned<TyKind>`) pub rustc::PASS_BY_VALUE, Warn, "pass by reference of a type flagged as `#[rustc_pass_by_value]`", |
