]> git.lizzy.rs Git - rust.git/commitdiff
clippy_lint: Fix typo (now -> not)
authorJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Thu, 8 Oct 2020 12:06:19 +0000 (09:06 -0300)
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Thu, 8 Oct 2020 12:06:19 +0000 (09:06 -0300)
tests/ui/escape_analysis.rs

index 377a0fb502f46b93723924ee7d76550c855f9240..3d5a02bf705c0518aa6bff677d9791ddcce3a60f 100644 (file)
@@ -177,5 +177,5 @@ fn closure_borrow(x: Box<A>) {
 
 /// Issue #5542
 ///
-/// This shouldn't warn for `boxed_local` as it is a function implemented in C.
-pub extern "C" fn do_now_warn_me(_c_pointer: Box<String>) -> () {}
+/// This shouldn't warn for `boxed_local` as it is a function to be used in C.
+pub extern "C" fn do_not_warn_me(_c_pointer: Box<String>) -> () {}