From 36cf76a4c1800e449d1f2863c3d4919460fa3831 Mon Sep 17 00:00:00 2001 From: dbr Date: Mon, 16 Jan 2023 19:39:14 +1030 Subject: [PATCH] Format #[deprecated(...)] annotations --- imgui/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index 16282f0..b6c1c9f 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -288,19 +288,19 @@ impl Ui { pub struct Id(pub(crate) u32); impl Id { - #[deprecated(since="0.8", note="Use ui.new_id_int(...)")] + #[deprecated(since = "0.8", note = "Use ui.new_id_int(...)")] #[allow(non_snake_case)] pub fn Int(input: i32, ui: &Ui) -> Self { ui.new_id_int(input) } - #[deprecated(since="0.8", note="Use ui.new_id_str(...)")] + #[deprecated(since = "0.8", note = "Use ui.new_id_str(...)")] #[allow(non_snake_case)] pub fn Str(input: impl AsRef, ui: &Ui) -> Self { ui.new_id_str(input) } - #[deprecated(since="0.8", note="Use ui.new_id_ptr(...)")] + #[deprecated(since = "0.8", note = "Use ui.new_id_ptr(...)")] #[allow(non_snake_case)] pub fn Ptr(input: &T, ui: &Ui) -> Self { ui.new_id_ptr(input)