mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
rustdoc: Fix many rustdoc errors (#31147)
This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
This commit is contained in:
parent
d7de206dbd
commit
5c1723c983
185 changed files with 939 additions and 942 deletions
|
@ -270,7 +270,7 @@ impl Debug for EmbedderMsg {
|
|||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct FilterPattern(pub String);
|
||||
|
||||
/// https://w3c.github.io/mediasession/#mediametadata
|
||||
/// <https://w3c.github.io/mediasession/#mediametadata>
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct MediaMetadata {
|
||||
/// Title
|
||||
|
@ -291,7 +291,7 @@ impl MediaMetadata {
|
|||
}
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/mediasession/#enumdef-mediasessionplaybackstate
|
||||
/// <https://w3c.github.io/mediasession/#enumdef-mediasessionplaybackstate>
|
||||
#[repr(i32)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub enum MediaSessionPlaybackState {
|
||||
|
@ -303,7 +303,7 @@ pub enum MediaSessionPlaybackState {
|
|||
Paused,
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/mediasession/#dictdef-mediapositionstate
|
||||
/// <https://w3c.github.io/mediasession/#dictdef-mediapositionstate>
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct MediaPositionState {
|
||||
pub duration: f64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue