mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -44,7 +44,7 @@ impl MediaDevices {
|
|||
}
|
||||
|
||||
impl MediaDevicesMethods for MediaDevices {
|
||||
/// https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia
|
||||
/// <https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia>
|
||||
#[allow(unsafe_code)]
|
||||
fn GetUserMedia(&self, constraints: &MediaStreamConstraints, comp: InRealm) -> Rc<Promise> {
|
||||
let p = Promise::new_in_current_realm(comp);
|
||||
|
@ -67,7 +67,7 @@ impl MediaDevicesMethods for MediaDevices {
|
|||
p
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices
|
||||
/// <https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices>
|
||||
fn EnumerateDevices(&self) -> Rc<Promise> {
|
||||
// Step 1.
|
||||
let in_realm_proof = AlreadyInRealm::assert();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue