Skip to content

Commit aaa4bff

Browse files
committed
Translation of the code base on 2018 edition
1 parent e66ebf2 commit aaa4bff

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "fs_extra"
33
version = "1.2.0"
4+
edition = "2018"
45
description = "Expanding std::fs and std::io. Recursively copy folders with information about process and much more."
56
license = "MIT"
67
authors = ["Denis Kurilenko <webdesus@gmail.com>"]

src/dir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use error::*;
1+
use crate::error::*;
22
use std::collections::{HashMap, HashSet};
33
use std::fs::{create_dir, create_dir_all, read_dir, remove_dir_all, Metadata};
44
use std::path::{Path, PathBuf};

src/file.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use error::{Error, ErrorKind, Result};
1+
use crate::error::{Error, ErrorKind, Result};
22
use std;
33
use std::fs::{remove_file, File};
44
use std::io::{Read, Write};

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub mod file;
153153
///
154154
pub mod dir;
155155

156-
use error::*;
156+
use crate::error::*;
157157
use std::path::Path;
158158

159159
/// Copies a list of directories and files to another place recursively. This function will

0 commit comments

Comments
 (0)