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

imp(arg_enum!): allows using meta items like repr(C) with arg_enum!s #544

Merged
merged 1 commit into from
Jun 28, 2016

Commits on Jun 28, 2016

  1. imp(arg_enum!): allows using meta items like repr(C) with arg_enum!s

    One can now use more than one meta item, and things like `#[repr(C)]`
    
    Example:
    
    ```rust
    
    arg_enum! {
    	#[repr(C)]
    	#[derive(Debug)]
    	pub enum MyEnum {
    		A=1,
    		B=2
    	}
    }
    
    ```
    
    Closes #543
    kbknapp committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    edf9b23 View commit details
    Browse the repository at this point in the history