docs: use Color in doc test

This commit is contained in:
Nikita Revenco 2024-12-19 17:47:15 +00:00
parent 8e17b7424c
commit 1cc2235828

View file

@ -269,6 +269,8 @@ impl Color {
/// # Examples
///
/// ```rust
/// use helix_view::theme::Color
///
/// let color1 = Color::from_hex("#c0ffee").unwrap();
/// let color2 = Color::Rgb(192, 255, 238);
///