Skip to content

Commit

Permalink
Drop redudant TryFrom imports
Browse files Browse the repository at this point in the history
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
  • Loading branch information
sjoerdsimons authored and soerenmeier committed Apr 3, 2024
1 parent d8b00ab commit d8263a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/disk.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Disk-related types and helper functions.

use super::{GptConfig, GptDisk, GptError};
use std::{convert::TryFrom, fmt, fs, io, path};
use std::{fmt, fs, io, path};

/// Default size of a logical sector (bytes).
pub const DEFAULT_SECTOR_SIZE: LogicalBlockSize = LogicalBlockSize::Lb512;
Expand Down
1 change: 0 additions & 1 deletion src/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use bitflags::*;
use crc::Crc;
use std::collections::BTreeMap;
use std::convert::TryFrom;
use std::fmt;
use std::fs::{File, OpenOptions};
use std::io::{Error, ErrorKind, Read, Result, Seek, SeekFrom, Write};
Expand Down

0 comments on commit d8263a9

Please sign in to comment.