Fix clippy warning on unused field

This commit is contained in:
Dominik Nakamura 2021-01-22 13:01:45 +09:00
parent fbdd7b7068
commit fec1a291cf
No known key found for this signature in database
GPG key ID: E4C6A749B2491910

View file

@ -100,6 +100,7 @@ type BaseStream = tokio_tungstenite::MaybeTlsStream<TcpStream>;
type MessageWriter = SplitSink<WebSocketStream<BaseStream>, Message>;
/// Default broadcast capacity used when not overwritten by the user.
#[cfg(feature = "events")]
const DEFAULT_CAPACITY: usize = 100;
/// Configuration for connecting to a obs-websocket instance.