Fix documentation build.
This commit is contained in:
parent
ea84de5d41
commit
8e9fe0e182
1 changed files with 8 additions and 8 deletions
|
@ -186,8 +186,8 @@ impl<T: DeserializeOwned + Serialize> Codec<T> {
|
||||||
///
|
///
|
||||||
/// ## Examples
|
/// ## Examples
|
||||||
///
|
///
|
||||||
/// See the [no_std usage example][ex] in the `typed` module documentation.
|
/// See the [no_std usage example](index.html#example-usage-from-a-no_std-crate)
|
||||||
/// [ex]: index.html#example-usage-from-a-no_std-crate
|
/// in the `typed` module documentation.
|
||||||
pub fn encode_to_slice(
|
pub fn encode_to_slice(
|
||||||
&mut self,
|
&mut self,
|
||||||
v: &T,
|
v: &T,
|
||||||
|
@ -217,8 +217,8 @@ impl<T: DeserializeOwned + Serialize> Codec<T> {
|
||||||
///
|
///
|
||||||
/// ## Examples
|
/// ## Examples
|
||||||
///
|
///
|
||||||
/// See the [no_std usage example][ex] in the `typed` module documentation.
|
/// See the [no_std usage example](index.html#example-usage-from-a-no_std-crate)
|
||||||
/// [ex]: index.html#example-usage-from-a-no_std-crate
|
/// in the `typed` module documentation.
|
||||||
pub fn decode_from_slice(
|
pub fn decode_from_slice(
|
||||||
&mut self,
|
&mut self,
|
||||||
e: &Encoded,
|
e: &Encoded,
|
||||||
|
@ -259,8 +259,8 @@ const_fn! {
|
||||||
///
|
///
|
||||||
/// ## Examples
|
/// ## Examples
|
||||||
///
|
///
|
||||||
/// See the [std usage example][ex] in the `typed` module documentation.
|
/// See the [std usage example](index.html#example-usage-from-a-std-crate)
|
||||||
/// [ex]: index.html#example-usage-from-a-std-crate
|
/// in the `typed` module documentation.
|
||||||
#[cfg(feature = "use_std")]
|
#[cfg(feature = "use_std")]
|
||||||
pub struct Sender<W: Write, T: DeserializeOwned + Serialize> {
|
pub struct Sender<W: Write, T: DeserializeOwned + Serialize> {
|
||||||
codec: Codec<T>,
|
codec: Codec<T>,
|
||||||
|
@ -329,8 +329,8 @@ impl<W: Write, T: DeserializeOwned + Serialize> Sender<W, T> {
|
||||||
///
|
///
|
||||||
/// ## Examples
|
/// ## Examples
|
||||||
///
|
///
|
||||||
/// See the [std usage example][ex] in the `typed` module documentation.
|
/// See the [std usage example](index.html#example-usage-from-a-std-crate)
|
||||||
/// [ex]: index.html#example-usage-from-a-std-crate
|
/// in the `typed` module documentation.
|
||||||
#[cfg(feature = "use_std")]
|
#[cfg(feature = "use_std")]
|
||||||
pub struct Receiver<R: Read, T: DeserializeOwned + Serialize> {
|
pub struct Receiver<R: Read, T: DeserializeOwned + Serialize> {
|
||||||
codec: Codec<T>,
|
codec: Codec<T>,
|
||||||
|
|
Loading…
Reference in a new issue