Skip to content

Commit 75cb975

Browse files
committed
Remove double imports
1 parent 6a5fe33 commit 75cb975

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/debug.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ impl TimestampQuery {
161161
/// It takes some time to retrieve the value, during which you can execute other
162162
/// functions.
163163
pub fn is_ready(&self) -> bool {
164-
use std::mem;
165-
166164
let ctxt = self.context.make_current();
167165

168166
if ctxt.version >= &Version(Api::Gl, 3, 2) { // TODO: extension
@@ -188,8 +186,6 @@ impl TimestampQuery {
188186
///
189187
/// This function doesn't block if `is_ready` returns true.
190188
pub fn get(self) -> u64 {
191-
use std::mem;
192-
193189
let ctxt = self.context.make_current();
194190

195191
if ctxt.version >= &Version(Api::Gl, 3, 2) { // TODO: extension

0 commit comments

Comments
 (0)