Update to Rust 2018 edition

This commit is contained in:
2021-08-22 10:32:50 -05:00
parent 2c2788f172
commit 53bc0644a6
4 changed files with 81 additions and 88 deletions

View File

@@ -1,9 +1,3 @@
extern crate chrono;
extern crate clap;
extern crate libudev;
extern crate serde;
extern crate serde_json;
use chrono::Duration;
use clap::App;
use clap::Arg;

View File

@@ -3,7 +3,7 @@ use std::io;
use std::io::prelude::*;
use std::path;
use error::Error;
use crate::error::Error;
pub struct MountInfo {
pub mount_id: u32,