Skip to content

Conversation

chris-morgan
Copy link
Member

Before it would only catch lines starting fn or pub fn.

Now it can cope with:

  • attributes (e.g. #[test] fn)
  • external functions (e.g. extern fn, extern "C" fn)
  • unsafe functions (e.g. unsafe fn)

… and any correct combination of these
(e.g. #[test] extern "C" unsafe fn).

Before it would only catch lines starting `fn` or `pub fn`.

Now it can cope with:

- attributes (e.g. `#[test] fn`)
- external functions (e.g. `extern fn`, `extern "C" fn`)
- unsafe functions (e.g. `unsafe fn`)

… and any correct combination of these
(e.g. `#[test] extern "C" unsafe fn`).
@emberian
Copy link
Contributor

Awesome!

On Fri, Feb 28, 2014 at 3:16 AM, bors [email protected] wrote:

Closed #12598 #12598 via 53e90c153e90c1
.


Reply to this email directly or view it on GitHubhttps://github.com//pull/12598
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants