Fix broken rustdoc links
This commit is contained in:
parent
a4606f41cd
commit
f0ea9e9451
|
@ -360,7 +360,7 @@ pub trait Params {
|
||||||
fn serialize_fields(&self) -> HashMap<String, Vec<u8>>;
|
fn serialize_fields(&self) -> HashMap<String, Vec<u8>>;
|
||||||
|
|
||||||
/// Restore all fields marked with `#[persist = "stable_name"]` from a hashmap created by
|
/// 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
|
/// 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.
|
/// plugin's state is being restored. This uses [deserialize_field] under the hood.
|
||||||
fn deserialize_fields(&self, serialized: &HashMap<String, Vec<u8>>);
|
fn deserialize_fields(&self, serialized: &HashMap<String, Vec<u8>>);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! Utilities for saving a [Plugin]'s state.
|
//! Utilities for saving a [crate::plugin::Plugin]'s state.
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
Loading…
Reference in a new issue