Skip to content

Commit

Permalink
Remove double expr_u32 (fixup #22700)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 24, 2015
1 parent 54041c2 commit e711ac7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libsyntax/ext/build.rs
Expand Up @@ -708,9 +708,6 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
fn expr_u8(&self, sp: Span, u: u8) -> P<ast::Expr> {
self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU8)))
}
fn expr_u32(&self, sp: Span, u: u32) -> P<ast::Expr> {
self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU32)))
}
fn expr_bool(&self, sp: Span, value: bool) -> P<ast::Expr> {
self.expr_lit(sp, ast::LitBool(value))
}
Expand Down

0 comments on commit e711ac7

Please sign in to comment.