docs: use Color in doc test
This commit is contained in:
parent
8e17b7424c
commit
1cc2235828
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue