]> git.lizzy.rs Git - rust.git/commitdiff
docs: typo in `temporary_cstring_as_ptr`: s/point/&s
authorErich Gubler <erichdongubler@gmail.com>
Thu, 13 Aug 2020 19:52:21 +0000 (13:52 -0600)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 19:52:21 +0000 (13:52 -0600)
clippy_lints/src/methods/mod.rs

index f4eb9c4516fc4f381eef67524ea03b3b81f104af..b6266ef2ba19895560a1916fe7d866fbbcc241be 100644 (file)
     ///     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) {}