Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grammar for variadic functions #781

Closed
wants to merge 2 commits into from
Closed

Commits on Mar 13, 2020

  1. Modernize Cargo.lock

    matklad committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    d79b8ef View commit details
    Browse the repository at this point in the history
  2. Fix grammar for variadic extern functions

    First, variadic params can be named:
    
        extern "C" {
            fn f(_: *mut u8, _: ...);
        }
    
    Second, variadic params can be followed by a comma
    
        extern "C" {
            fn f(_: *mut u8, ...,);
        }
    matklad committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    5dc3df2 View commit details
    Browse the repository at this point in the history