Skip to content

Commit

Permalink
Merge pull request #8 from zoolq/readme
Browse files Browse the repository at this point in the history
Fixed README
  • Loading branch information
uttarayan21 committed Sep 26, 2023
2 parents 5d7921c + 46a8a5e commit 394f263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Parse HEX colors to [ratatui](https://github.com/tui-rs-revival/ratatui)'s [Rgb]
```rust
#[derive(Serialize, Deserialize, PartialEq)]
sruct ColorStruct {
#[serde(with = "color_to_tui"]
#[serde(with = "color_to_tui")]
color: ratatui::style::Color,
#[serde(with = "color_to_tui::optional"]
#[serde(with = "color_to_tui::optional")]
optional_color: Option<ratatui::style::Color>,
}

Expand Down

0 comments on commit 394f263

Please sign in to comment.