You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the derive macro, it would be useful to use a Key to look up the docstring related to the entry. For example:
#[derive(miniconf::Tree)]structSettings{/// The selected sampling rate in Hz.sample_rate:f32,}assert_eq!(Settings::get_metadata("/sample_rate", "The selected sampling rate in Hz."),
This would allow the code comments to be exposed as helpful information about the settings tree
The text was updated successfully, but these errors were encountered:
As part of the derive macro, it would be useful to use a
Key
to look up the docstring related to the entry. For example:This would allow the code comments to be exposed as helpful information about the settings tree
The text was updated successfully, but these errors were encountered: