From 99003cbba9f0867d7f28a50d5e48a1b09a482f6b Mon Sep 17 00:00:00 2001 From: Matt Vertescher Date: Sat, 26 Oct 2019 15:19:07 -0400 Subject: [PATCH] Upgrade to the 2018 edition --- Cargo.toml | 1 + src/display.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f76d81c..2eff2af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "du-dust" description = "A more intuitive version of du" version = "0.4.0" authors = ["bootandy ", "nebkor "] +edition = "2018" documentation = "https://github.com/bootandy/dust" homepage = "https://github.com/bootandy/dust" diff --git a/src/display.rs b/src/display.rs index da78bbf..343ab81 100644 --- a/src/display.rs +++ b/src/display.rs @@ -2,7 +2,7 @@ extern crate ansi_term; use self::ansi_term::Colour::Fixed; use self::ansi_term::Style; -use utils::Node; +use crate::utils::Node; static UNITS: [char; 4] = ['T', 'G', 'M', 'K'];