Skip to content

Commit

Permalink
redundant import warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Feb 19, 2024
1 parent a9b594b commit a2a1727
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion crates/libs/bindgen/src/rdl/from_reader.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use super::*;
use crate::Result;
use tokens::{quote, to_ident, TokenStream};

pub fn from_reader(reader: &'static metadata::Reader, mut config: std::collections::BTreeMap<&str, &str>, output: &str) -> Result<()> {
Expand Down
3 changes: 1 addition & 2 deletions crates/libs/bindgen/src/rdl/to_winmd.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use super::*;
use crate::winmd::{self, writer};
use crate::Result;
use crate::winmd::writer;

// TODO: store span in winmd so that errors resolving type references can be traced back to file/line/column
use std::collections::HashMap;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/bindgen/src/rust/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ mod try_format;
mod winrt_methods;
mod writer;
use super::*;
use crate::Result;
use rayon::prelude::*;

pub fn from_reader(reader: &'static metadata::Reader, mut config: std::collections::BTreeMap<&str, &str>, output: &str) -> Result<()> {
Expand Down
1 change: 0 additions & 1 deletion crates/libs/bindgen/src/winmd/writer/tables.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![allow(non_snake_case)]

use super::Write;
use super::*;

#[derive(Default)]
Expand Down
2 changes: 0 additions & 2 deletions crates/libs/result/src/com.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ macro_rules! com_call {
}
}

pub use com_call;

#[repr(transparent)]
pub struct ComPtr(std::ptr::NonNull<std::ffi::c_void>);

Expand Down

0 comments on commit a2a1727

Please sign in to comment.