Remove unused print out

This commit is contained in:
Edwin Cheng 2019-04-22 20:21:14 +08:00
parent 1cdfc38066
commit bb84fce1a4

View file

@ -943,13 +943,9 @@ MACRO_ITEMS@[0; 40)
r#"{let mut v = Vec :: new () ; v . push (1u32) ; v . push (2) ; v}"#, r#"{let mut v = Vec :: new () ; v . push (1u32) ; v . push (2) ; v}"#,
); );
println!("{}", expand_to_expr(&rules, r#"vec![1u32,2]"#).syntax().debug_dump().trim());
assert_eq!( assert_eq!(
expand_to_expr(&rules, r#"vec![1u32,2]"#).syntax().debug_dump().trim(), expand_to_expr(&rules, r#"vec![1u32,2]"#).syntax().debug_dump().trim(),
r#"MACRO_STMTS@[0; 45) r#"BLOCK_EXPR@[0; 45)
EXPR_STMT@[0; 45)
BLOCK_EXPR@[0; 45)
BLOCK@[0; 45) BLOCK@[0; 45)
L_CURLY@[0; 1) "{" L_CURLY@[0; 1) "{"
LET_STMT@[1; 20) LET_STMT@[1; 20)