1
Fork 0

Apply suggestions from code review

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
Felix S Klock II 2019-10-03 10:46:01 +02:00 committed by GitHub
parent 3adcc3ed22
commit e7e6dec06a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -281,7 +281,7 @@ pub fn from_fn_attrs(
//
// However, in the long term we should either:
// - fold this into final else (i.e. stop inspecting `id`)
// - or better still: whole-heartedly adopt Rust PR #63909.
// - adopt Rust PR #63909.
//
// see also Rust RFC 2753.
@ -294,7 +294,7 @@ pub fn from_fn_attrs(
} else {
// Anything else is either:
//
// 1. A foreign item (like `extern "C" { fn foo(); }`), or
// 1. A foreign item using a non-Rust ABI (like `extern "C" { fn foo(); }`), or
//
// 2. A Rust item using a non-Rust ABI (like `extern "C" fn foo() { ... }`).
//