Skip to content

Commit 8ecc0fc

Browse files
committed
Auto merge of #5905 - ErichDonGubler:patch-1, r=flip1995
docs: typo in `temporary_cstring_as_ptr`: s/point/&s changelog: none
2 parents ba363bd + 48a1425 commit 8ecc0fc

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ declare_clippy_lint! {
799799
/// call_some_ffi_func(c_str);
800800
/// }
801801
/// ```
802-
/// Here `c_str` point to a freed address. The correct use would be:
802+
/// Here `c_str` points to a freed address. The correct use would be:
803803
/// ```rust
804804
/// # use std::ffi::CString;
805805
/// # fn call_some_ffi_func(_: *const i8) {}

0 commit comments

Comments
 (0)