From afb4d6c4516c4c7a1a1b2567549e943b7629a805 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:47:15 +0000 Subject: [PATCH] docs: use Color in doc test --- helix-view/src/graphics.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helix-view/src/graphics.rs b/helix-view/src/graphics.rs index 58bcff2f78bf6..8fa40808ca67e 100644 --- a/helix-view/src/graphics.rs +++ b/helix-view/src/graphics.rs @@ -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); ///