removed unused imports (and one unused argument)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user