From 8dad2bb2814fec7f8593f54b5d95e892a09596ab Mon Sep 17 00:00:00 2001 From: John Clements Date: Tue, 4 Jun 2013 11:09:18 -0700 Subject: removed unused imports (and one unused argument) --- src/libsyntax/ast_util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libsyntax/ast_util.rs') diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index cf90da4ffae..588968365b1 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -24,12 +24,11 @@ use core::option; use core::str; use core::to_bytes; -pub fn path_name_i(idents: &[ident], intr: @token::ident_interner) -> ~str { +pub fn path_name_i(idents: &[ident]) -> ~str { // FIXME: Bad copies (#2543 -- same for everything else that says "bad") str::connect(idents.map(|i| copy *token::interner_get(i.name)), "::") } - pub fn path_to_ident(p: @Path) -> ident { copy *p.idents.last() } pub fn local_def(id: node_id) -> def_id { -- cgit 1.4.1-3-g733a5