Skip to content

Commit 755676c

Browse files
committed
chore: Remove doc comments from extern blocks
Doc comments are ignored here and can generate warnings, so change to regular comments.
1 parent b9da107 commit 755676c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

web/src/audio.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,18 +1141,18 @@ impl AudioBackend for WebAudioBackend {
11411141

11421142
#[wasm_bindgen(raw_module = "./ruffle-imports.js")]
11431143
extern "C" {
1144-
/// Imported JS method to copy data into an `AudioBuffer`.
1145-
/// We'd prefer to use `AudioBuffer.copyToChannel`, but this isn't supported
1146-
/// on Safari.
1144+
// Imported JS method to copy data into an `AudioBuffer`.
1145+
// We'd prefer to use `AudioBuffer.copyToChannel`, but this isn't supported
1146+
// on Safari.
11471147
#[wasm_bindgen(js_name = "copyToAudioBuffer")]
11481148
fn copy_to_audio_buffer(
11491149
audio_buffer: &web_sys::AudioBuffer,
11501150
left_data: Option<&[f32]>,
11511151
right_data: Option<&[f32]>,
11521152
);
11531153

1154-
/// Imported JS method to call `AudioContext.getOutputTimestamp` because
1155-
/// it is not yet available in `web_sys`.
1154+
// Imported JS method to call `AudioContext.getOutputTimestamp` because
1155+
// it is not yet available in `web_sys`.
11561156
#[wasm_bindgen(js_name = "getAudioOutputTimestamp")]
11571157
fn get_audio_output_timestamp(context: &web_sys::AudioContext) -> f64;
11581158
}

0 commit comments

Comments
 (0)