diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-10-10 20:45:04 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-10-10 20:45:04 +0200 |
| commit | c3f077c7ad58e3dae45fc09e9645c235337c3419 (patch) | |
| tree | 97ce78dc1b565ed707452f1b72985b753d081397 | |
| parent | 1469e8d1400dc9622a5259ccc03acd91e50bc49e (diff) | |
| download | rust-c3f077c7ad58e3dae45fc09e9645c235337c3419.tar.gz rust-c3f077c7ad58e3dae45fc09e9645c235337c3419.zip | |
Fix unclosed HTML tag in clippy doc
| -rw-r--r-- | clippy_utils/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clippy_utils/src/lib.rs b/clippy_utils/src/lib.rs index 42374fdd7ba..e7e3625c078 100644 --- a/clippy_utils/src/lib.rs +++ b/clippy_utils/src/lib.rs @@ -2064,9 +2064,9 @@ pub fn fn_def_id(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option<DefId> { } } -/// Returns Option<String> where String is a textual representation of the type encapsulated in the -/// slice iff the given expression is a slice of primitives (as defined in the -/// `is_recursively_primitive_type` function) and None otherwise. +/// Returns `Option<String>` where String is a textual representation of the type encapsulated in +/// the slice iff the given expression is a slice of primitives (as defined in the +/// `is_recursively_primitive_type` function) and `None` otherwise. pub fn is_slice_of_primitives(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option<String> { let expr_type = cx.typeck_results().expr_ty_adjusted(expr); let expr_kind = expr_type.kind(); |
