Skip to content

Commit

Permalink
Fix a docstring mentioning string values for integer config options
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Oct 14, 2024
1 parent 7f428b2 commit 8c7a333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/weechat/src/config/integer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ impl IntegerOptionSettings {
/// use weechat::config::IntegerOptionSettings;
///
/// let settings = IntegerOptionSettings::new("server_buffer")
/// .string_values(vec!["independent", "merged"])
/// .min(0)
/// .max(100)
/// .set_change_callback(|weechat, option| {
/// Weechat::print("Option changed");
/// });
Expand Down

0 comments on commit 8c7a333

Please sign in to comment.