summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-04-24 22:49:19 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-04-24 22:49:19 -0300
commitf9f854aa51e384358d935740bd64cf4f6d3057c5 (patch)
tree93de4e642927eb91b8ffe48ae2538f41f7dec60a
parent57a2600df03db82fbb61cc258093ec6bf6345107 (diff)
Fix doc
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs2
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 <endermoneymod@gmail.com>"]
 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),