simply used debug_assertions instead of test accidentally.

This commit is contained in:
Jack Mac 2021-09-15 11:50:53 -04:00
parent 31c4b98a98
commit 0a06c97526

View File

@ -1,4 +1,4 @@
#![cfg_attr(debug_assertions, allow(clippy::float_cmp))]
#![cfg_attr(test, allow(clippy::float_cmp))]
pub extern crate imgui_sys as sys;
use std::cell;
@ -106,7 +106,7 @@ impl Context {
///
/// Incremented by Io::delta_time every frame.
#[doc(alias = "GetTime")]
pub fn time(&self) -> f64 {
pub fn time(&self, input: f64) -> f64 {
unsafe { sys::igGetTime() }
}
/// Returns the global imgui-rs frame count.