docs: typo in temporary_cstring_as_ptr: s/point/&s

This commit is contained in:
Erich Gubler 2020-08-13 13:52:21 -06:00 committed by GitHub
parent ba363bdbf9
commit 48a142559d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {}