chore: Fix new docs warnings
This commit is contained in:
parent
c2c4555133
commit
b538234bce
@ -2,7 +2,7 @@
|
||||
//!
|
||||
//! The differences between the `RoomV1Pdu` schema and the `RoomV3Pdu` schema are that the
|
||||
//! `RoomV1Pdu` takes an `event_id` field (`RoomV3Pdu` does not), and `auth_events` and
|
||||
//! `prev_events` take `Vec<(OwnedEventId, EventHash)> rather than `Vec<OwnedEventId>` in
|
||||
//! `prev_events` take `Vec<(OwnedEventId, EventHash)>` rather than `Vec<OwnedEventId>` in
|
||||
//! `RoomV3Pdu`.
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
@ -11,7 +11,7 @@ use serde::{
|
||||
ser::{Error, Serialize, Serializer},
|
||||
};
|
||||
|
||||
/// Serialize an Option<Duration>.
|
||||
/// Serialize an `Option<Duration>`.
|
||||
///
|
||||
/// Will fail if integer is greater than the maximum integer that can be
|
||||
/// unambiguously represented by an f64.
|
||||
@ -28,7 +28,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// Deserializes an Option<Duration>.
|
||||
/// Deserializes an `Option<Duration>`.
|
||||
///
|
||||
/// Will fail if integer is greater than the maximum integer that can be
|
||||
/// unambiguously represented by an f64.
|
||||
|
@ -144,7 +144,7 @@ impl Ed25519KeyPair {
|
||||
///
|
||||
/// # Returns
|
||||
///
|
||||
/// Returns a Vec<u8> representing a DER-encoded PKCS#8 v2 document (with public key)
|
||||
/// Returns a `Vec<u8>` representing a DER-encoded PKCS#8 v2 document (with public key)
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user