Skip to content

Commit c57b434

Browse files
committed
Add #![warn(rust_2018_idioms)] and #![allow(dead_code)] for 'webrtc-constraints'
1 parent 4f58372 commit c57b434

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

constraints/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! Pure Rust implementation of the constraint logic defined in the ["Media Capture and Streams"][mediacapture_streams] spec.
22
//!
33
//! [mediacapture_streams]: https://www.w3.org/TR/mediacapture-streams/
4+
#![warn(rust_2018_idioms)]
5+
#![allow(dead_code)]
46

57
pub mod algorithms;
68
pub mod errors;

0 commit comments

Comments
 (0)