Fix broken intra-doc links

This commit is contained in:
Jonas Platte 2022-03-25 11:03:41 +01:00
parent 4d52700142
commit 7bef8ea5ef
No known key found for this signature in database
GPG Key ID: BBA95679259D342F
2 changed files with 3 additions and 3 deletions

View File

@ -104,10 +104,10 @@ impl Waveform {
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, thiserror::Error)]
#[non_exhaustive]
pub enum WaveformError {
/// There are more than [`Waveform::MAX`] values.
/// There are more than [`Waveform::MAX_LENGTH`] values.
#[error("too many values")]
TooManyValues,
/// There are less that [`Waveform::MIN`] values.
/// There are less that [`Waveform::MIN_LENGTH`] values.
#[error("not enough values")]
NotEnoughValues,
}

View File

@ -3,7 +3,7 @@
//! [spec]: https://spec.matrix.org/v1.2/identity-service-api/#get_matrixidentityversions
//!
//! Note: This endpoint was only implemented in/after 1.1, so a 404 could indicate the server only
//! supports 1.0 endpoints. Please use [`server_status`](crate::discovery::server_status) to
//! supports 1.0 endpoints. Please use [`server_status`](super::get_server_status) to
//! double-check.
//!
//! Note: This endpoint does not contain an unstable variant for 1.0.