docs: typo in temporary_cstring_as_ptr
: s/point/&s
This commit is contained in:
parent
ba363bdbf9
commit
48a142559d
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user