Skip to content

Commit

Permalink
Fix unused 'use'
Browse files Browse the repository at this point in the history
  • Loading branch information
dbr committed Nov 2, 2021
1 parent bb19f93 commit e1ac6ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions imgui-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#![allow(dead_code)]

use std::fs;
use std::io;

const DEFINES: &[(&str, Option<&str>)] = &[
// Rust `char` is a unicode scalar value, e.g. 32 bits.
("IMGUI_USE_WCHAR32", None),
Expand All @@ -12,7 +9,7 @@ const DEFINES: &[(&str, Option<&str>)] = &[
("IMGUI_DISABLE_OSX_FUNCTIONS", None),
];

fn main() -> io::Result<()> {
fn main() -> std::io::Result<()> {
// Root of imgui-sys
let manifest_dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));

Expand Down

0 comments on commit e1ac6ac

Please sign in to comment.