diff --git a/src/params.rs b/src/params.rs index 6b554e65..694a42cc 100644 --- a/src/params.rs +++ b/src/params.rs @@ -360,7 +360,7 @@ pub trait Params { fn serialize_fields(&self) -> HashMap>; /// Restore all fields marked with `#[persist = "stable_name"]` from a hashmap created by - /// [Self::serialize_fields]. All of thse fields should be wrapped in a [PersistentFieldq] with + /// [Self::serialize_fields]. All of thse fields should be wrapped in a [PersistentField] with /// thread safe interior mutability, like an `RwLock` or a `Mutex`. This gets called when the /// plugin's state is being restored. This uses [deserialize_field] under the hood. fn deserialize_fields(&self, serialized: &HashMap>); diff --git a/src/wrapper/state.rs b/src/wrapper/state.rs index 802c2c7b..795813c0 100644 --- a/src/wrapper/state.rs +++ b/src/wrapper/state.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Utilities for saving a [Plugin]'s state. +//! Utilities for saving a [crate::plugin::Plugin]'s state. use serde::{Deserialize, Serialize}; use std::collections::HashMap;