mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-09-11 20:32:06 +02:00
docs(config): encode defaults of unwrapped options into schema
This commit ensures that the various default values that the different Option<T> config properties can be unwrapped to are encoded by schemars so that they can be picked up by docgen.
This commit is contained in:
@@ -92,7 +92,7 @@ pub struct TimeConfig {
|
||||
///}
|
||||
/// ```
|
||||
pub timezone: Option<String>,
|
||||
/// Change the icon depending on the time. The default icon is used between 8:30 and 12:00. (default: false)
|
||||
/// Change the icon depending on the time. The default icon is used between 8:30 and 12:00
|
||||
pub changing_icon: Option<bool>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user