diff --git a/heed-types/src/lib.rs b/heed-types/src/lib.rs index fbafc89e..01a00fc9 100644 --- a/heed-types/src/lib.rs +++ b/heed-types/src/lib.rs @@ -4,7 +4,7 @@ //! For specific types you can choose: //! - [`Str`] to store [`str`](primitive@str)s //! - [`Unit`] to store `()` types -//! - [`SerdeBincode`] or [`SerdeJson`] to store [`Serialize`]/[`Deserialize`] types +//! - [`SerdeBincode`] or [`SerdeJson`] to store [`serde::Serialize`]/[`serde::Deserialize`] types //! //! But if you want to store big types that can be efficiently deserialized then //! here is a little table to help you in your quest: diff --git a/heed-types/src/str.rs b/heed-types/src/str.rs index 3cf82aac..b27f7cc9 100644 --- a/heed-types/src/str.rs +++ b/heed-types/src/str.rs @@ -4,7 +4,7 @@ use std::{str, marker}; use heed_traits::{BytesDecode, BytesEncode}; use bytemuck::try_cast_slice; -/// Describes an [`str`]. +/// Describes an [`prim@str`]. pub struct Str<'a> { _phantom: marker::PhantomData<&'a ()>, } diff --git a/heed/src/env.rs b/heed/src/env.rs index 88fa7b6e..a8305c59 100644 --- a/heed/src/env.rs +++ b/heed/src/env.rs @@ -100,6 +100,7 @@ impl EnvOpenOptions { } /// Set one or [more LMDB flags](http://www.lmdb.tech/doc/group__mdb__env.html). + /// /// ``` /// use std::fs; /// use std::path::Path;