about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-13 19:54:48 +0000
committerbors <bors@rust-lang.org>2020-08-13 19:54:48 +0000
commit8ecc0fc08a9bc213beb39147ee3155a6056bd2b3 (patch)
tree1bcacb165668d76da76d48ab701cd3659f56fd2e
parentba363bdbf9e40db1ad5ad63028c9f1a4474e3d58 (diff)
parent48a142559de48ff38326e8276ffdfce9ef3b5c95 (diff)
downloadrust-8ecc0fc08a9bc213beb39147ee3155a6056bd2b3.tar.gz
rust-8ecc0fc08a9bc213beb39147ee3155a6056bd2b3.zip
Auto merge of #5905 - ErichDonGubler:patch-1, r=flip1995
docs: typo in `temporary_cstring_as_ptr`: s/point/&s

changelog: none
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index f4eb9c4516f..b6266ef2ba1 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -799,7 +799,7 @@ declare_clippy_lint! {
     ///     call_some_ffi_func(c_str);
     /// }
     /// ```
-    /// Here `c_str` point to a freed address. The correct use would be:
+    /// Here `c_str` points to a freed address. The correct use would be:
     /// ```rust
     /// # use std::ffi::CString;
     /// # fn call_some_ffi_func(_: *const i8) {}