mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
Fix unused 'use'
This commit is contained in:
parent
bb19f938e2
commit
e1ac6ac204
@ -1,8 +1,5 @@
|
|||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use std::fs;
|
|
||||||
use std::io;
|
|
||||||
|
|
||||||
const DEFINES: &[(&str, Option<&str>)] = &[
|
const DEFINES: &[(&str, Option<&str>)] = &[
|
||||||
// Rust `char` is a unicode scalar value, e.g. 32 bits.
|
// Rust `char` is a unicode scalar value, e.g. 32 bits.
|
||||||
("IMGUI_USE_WCHAR32", None),
|
("IMGUI_USE_WCHAR32", None),
|
||||||
@ -12,7 +9,7 @@ const DEFINES: &[(&str, Option<&str>)] = &[
|
|||||||
("IMGUI_DISABLE_OSX_FUNCTIONS", None),
|
("IMGUI_DISABLE_OSX_FUNCTIONS", None),
|
||||||
];
|
];
|
||||||
|
|
||||||
fn main() -> io::Result<()> {
|
fn main() -> std::io::Result<()> {
|
||||||
// Root of imgui-sys
|
// Root of imgui-sys
|
||||||
let manifest_dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));
|
let manifest_dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR"));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user