Fix rustdoc errors in components/script/dom (#31617)

* Fix rustdoc errors in components/script/dom

* Revert if to iff in audiobuffer.rs
This commit is contained in:
Mucha Naibei 2024-03-12 01:04:05 +03:00 committed by GitHub
parent 45344dca2b
commit d1fd8d55ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@ impl TrustedReference {
/// A safe wrapper around a DOM Promise object that can be shared among threads for use
/// in asynchronous operations. The underlying DOM object is guaranteed to live at least
/// as long as the last outstanding `TrustedPromise` instance. These values cannot be cloned,
/// only created from existing Rc<Promise> values.
/// only created from existing `Rc<Promise>` values.
pub struct TrustedPromise {
dom_object: *const Promise,
owner_thread: *const libc::c_void,