Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident committed Jun 10, 2021
1 parent 26cec76 commit bffd2d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webrtc-sys/src/native/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ pub extern "C" fn webrtc_sys_mediastream_create() -> *mut crate::media_stream::M
/// # Safety
/// Will crash if the given MediaStream pointer is null
#[no_mangle]
pub unsafe extern "C" fn webrtc_sys_mediastream_destroy(stream: *mut crate::media_stream::MediaStream) {
pub unsafe extern "C" fn webrtc_sys_mediastream_destroy(
stream: *mut crate::media_stream::MediaStream,
) {
let _ = Box::from_raw(stream);
}

Expand Down

0 comments on commit bffd2d6

Please sign in to comment.