Playing with proc macros
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
pub mod peg;
|
||||
|
||||
pub use peg::*;
|
||||
@@ -0,0 +1,6 @@
|
||||
#[derive(Debug)]
|
||||
#[allow(dead_code)]
|
||||
pub enum Foo {
|
||||
Bar(usize),
|
||||
Baz(String),
|
||||
}
|
||||
Reference in New Issue
Block a user