Fill out the quick-start example

This commit is contained in:
Ridan Vandenbergh 2025-06-20 23:36:58 +02:00
parent 1ac1003d31
commit 9411ec941d
No known key found for this signature in database

View file

@ -6,7 +6,10 @@
//!
//! ```
//! let icons = icon::Icons::new();
//! // TODO.
//!
//! let firefox: Option<icon::IconFile> = icons.find_icon("firefox", 128, 1, "Adwaita");
//!
//! println!("Firefox icon is at {:?}", firefox.unwrap().path)
//! ```
//!
//! # High level design
@ -60,5 +63,6 @@ mod icon;
mod search;
pub mod theme;
pub use icon::*;
pub use search::*;
pub use theme::Icons;