From 38d85db56f9afcf112c30a5cfbe697afb420bfea Mon Sep 17 00:00:00 2001 From: Cadence Marseille Date: Wed, 17 Sep 2014 19:20:25 -0400 Subject: [PATCH] Use std::io::fs::PathExtensions to get the exists() method --- pkg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg.rs b/pkg.rs index 799a10e..a0ec1db 100644 --- a/pkg.rs +++ b/pkg.rs @@ -15,7 +15,7 @@ use rustc::driver::driver::host_triple; use std::from_str::{from_str}; use std::io; use std::io::{Command, FilePermission}; -use std::io::fs::{mkdir, File}; +use std::io::fs::{mkdir, File, PathExtensions}; use std::option::{Option}; use std::os; use std::str;