From f9f854aa51e384358d935740bd64cf4f6d3057c5 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sun, 24 Apr 2022 22:49:19 -0300 Subject: Fix doc --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 128209d..489dc41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hexchat-unsafe-plugin" -version = "2.0.1" +version = "2.1.0" authors = ["SoniEx2 "] description = "Lets you write native HexChat plugins in mostly-safe Rust" license = "GPL-3.0-or-later" diff --git a/src/lib.rs b/src/lib.rs index a7cdca9..e7db70b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -328,7 +328,7 @@ pub struct PluginHandle<'ph> { info: PluginInfo, } -/// A setting value, returned by [`PluginHandle::get_prefs`]. +/// A setting value, returned by [`ValidContext::get_prefs`]. #[derive(Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Debug)] pub enum PrefValue { String(String), -- cgit 1.4.1