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.
This commit is contained in:
Malik Olivier Boussejra 2021-09-23 14:43:21 +09:00
parent 49702e0a68
commit 210ca57ecb

View File

@ -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