Skip to content

Commit 59bb7e0

Browse files
committed
Remove some unused std::fmt imports
1 parent 29499a0 commit 59bb7e0

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

cairo/src/win32_surface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Take a look at the license at the top of the repository in the LICENSE file.
22

3-
use std::{convert::TryFrom, fmt, ops::Deref};
3+
use std::{convert::TryFrom, ops::Deref};
44

55
pub use ffi::winapi;
66
#[cfg(feature = "use_glib")]

cairo/src/xcb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#[cfg(feature = "use_glib")]
44
use std::marker::PhantomData;
5-
use std::{convert::TryFrom, fmt, ops::Deref, ptr};
5+
use std::{convert::TryFrom, ops::Deref, ptr};
66

77
#[cfg(feature = "use_glib")]
88
use glib::translate::*;

gio/src/win32_input_stream.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Take a look at the license at the top of the repository in the LICENSE file.
22

3-
use std::{
4-
fmt,
5-
os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
6-
};
3+
use std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle};
74

85
use glib::{prelude::*, translate::*};
96

gio/src/win32_output_stream.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Take a look at the license at the top of the repository in the LICENSE file.
22

3-
use std::{
4-
fmt,
5-
os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
6-
};
3+
use std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle};
74

85
use glib::{prelude::*, translate::*};
96

0 commit comments

Comments
 (0)