From 210ca57ecbd3fd729266a199c79e4f876207aa8c Mon Sep 17 00:00:00 2001 From: Malik Olivier Boussejra Date: Thu, 23 Sep 2021 14:43:21 +0900 Subject: [PATCH] fix typo in color documentation In 4f1cde06, `ImColor` was renamed to `ImColor32`. The documentation in color.rs appears to be wrong, so we fix it. --- imgui/src/color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui/src/color.rs b/imgui/src/color.rs index a5bed56..5f7e07c 100644 --- a/imgui/src/color.rs +++ b/imgui/src/color.rs @@ -5,7 +5,7 @@ /// bytes). For clarity: we don't support an equivalent to the /// `IMGUI_USE_BGRA_PACKED_COLOR` define. /// -/// This used to be named `ImColor32`, but was renamed to avoid confusion with +/// This used to be named `ImColor`, but was renamed to avoid confusion with /// the type with that name in the C++ API (which uses 32 bits per channel). /// /// While it doesn't provide methods to access the fields, they can be accessed