Skip to content

Commit

Permalink
Add comment on how to add new logos
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius committed Jan 8, 2024
1 parent 8d80025 commit 7174d44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/logo.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
use phf::phf_map;
use strum_macros::{self, Display, EnumCount, EnumString};

// These are the supported logos. To add a new logo,
// 1. Add a variant to this enum
// 2. Add a corresponding entry to the `LOGOS` map.
// The key of the entry will be a `&'static str` that represents the name of
// the enum variant, preserving the case, e.g. the variant `Logo::MacOS`
// corresponds to `"MacOs"`.
#[derive(Debug, Display, PartialEq, Eq, EnumString, EnumCount)]
pub enum Logo {
Deb,
Expand Down

0 comments on commit 7174d44

Please sign in to comment.