about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-10-08 09:07:24 -0300
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-10-08 09:07:24 -0300
commit5ae0f2644d4c402c8ea3561de1c9fa829b11b40e (patch)
tree62d7819784b42361c8f02f00d42e384de2e177d4
parent418cde0389d47628b32e533c47e64874fd1050fb (diff)
downloadrust-5ae0f2644d4c402c8ea3561de1c9fa829b11b40e.tar.gz
rust-5ae0f2644d4c402c8ea3561de1c9fa829b11b40e.zip
clippy_lint: extern definition is in Rust, not C
-rw-r--r--tests/ui/escape_analysis.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/escape_analysis.rs b/tests/ui/escape_analysis.rs
index 3d5a02bf705..7d3f4011e99 100644
--- a/tests/ui/escape_analysis.rs
+++ b/tests/ui/escape_analysis.rs
@@ -177,5 +177,5 @@ mod issue_3739 {
 
 /// Issue #5542
 ///
-/// This shouldn't warn for `boxed_local` as it is a function to be used in C.
+/// This shouldn't warn for `boxed_local` as it is intended to called from non-Rust code.
 pub extern "C" fn do_not_warn_me(_c_pointer: Box<String>) -> () {}