about summary refs log tree commit diff
path: root/clippy_lints/src/reference.rs
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2023-07-14 13:27:56 +0200
committerPhilipp Krones <hello@philkrones.com>2023-07-14 13:36:16 +0200
commit415fdb2d1a760caf57ef9b27afbc86c030d883dd (patch)
tree6fc56398b046981977b70ce90038f3303566b161 /clippy_lints/src/reference.rs
parent660ef4ffe8d58ba236555f7c191334b82ce5025f (diff)
parentbafde54367964e9337e6a88743ad6f0299ee8c75 (diff)
downloadrust-415fdb2d1a760caf57ef9b27afbc86c030d883dd.tar.gz
rust-415fdb2d1a760caf57ef9b27afbc86c030d883dd.zip
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/reference.rs')
-rw-r--r--clippy_lints/src/reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/reference.rs b/clippy_lints/src/reference.rs
index a642e2da3ba..db870ec4c5b 100644
--- a/clippy_lints/src/reference.rs
+++ b/clippy_lints/src/reference.rs
@@ -94,7 +94,7 @@ impl EarlyLintPass for DerefAddrOf {
                         DEREF_ADDROF,
                         e.span,
                         "immediately dereferencing a reference",
-                        "try this",
+                        "try",
                         sugg.to_string(),
                         applicability,
                     );