diff options
| author | lucarlig <luca.carlig@huawei.com> | 2024-02-25 22:52:44 +0400 |
|---|---|---|
| committer | lucarlig <luca.carlig@huawei.com> | 2024-02-25 22:52:44 +0400 |
| commit | ee50d5df90dc6cdeb266bf0965daf14799e0977b (patch) | |
| tree | a0999cbe4bd8008d7412de475d1f02c9471be2ce /clippy_lints/src/slow_vector_initialization.rs | |
| parent | d84d9d32f13baf4414430314d849ac051bff4468 (diff) | |
| download | rust-ee50d5df90dc6cdeb266bf0965daf14799e0977b.tar.gz rust-ee50d5df90dc6cdeb266bf0965daf14799e0977b.zip | |
correct wrong doc syntax
Diffstat (limited to 'clippy_lints/src/slow_vector_initialization.rs')
| -rw-r--r-- | clippy_lints/src/slow_vector_initialization.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/slow_vector_initialization.rs b/clippy_lints/src/slow_vector_initialization.rs index c4a5e48e855..4837f2858a6 100644 --- a/clippy_lints/src/slow_vector_initialization.rs +++ b/clippy_lints/src/slow_vector_initialization.rs @@ -62,7 +62,7 @@ declare_lint_pass!(SlowVectorInit => [SLOW_VECTOR_INITIALIZATION]); /// assigned to a variable. For example, `let mut vec = Vec::with_capacity(0)` or /// `vec = Vec::with_capacity(0)` struct VecAllocation<'tcx> { - /// HirId of the variable + /// `HirId` of the variable local_id: HirId, /// Reference to the expression which allocates the vector |
