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

@ -44,7 +44,7 @@ pub struct AudioBuffer {
#[ignore_malloc_size_of = "mozjs"]
js_channels: DomRefCell<Vec<HeapBufferSource<Float32>>>,
/// Aggregates the data from js_channels.
/// This is Some<T> iff the buffers in js_channels are detached.
/// This is `Some<T>` iff the buffers in js_channels are detached.
#[ignore_malloc_size_of = "servo_media"]
#[no_trace]
shared_channels: DomRefCell<Option<ServoMediaAudioBuffer>>,