Silence a warning in EventSourceReadyState.

This commit is contained in:
Ms2ger 2016-01-07 09:45:12 +01:00
parent f3aa5b40ed
commit 27ad50cfa7

View file

@ -17,6 +17,7 @@ use util::str::DOMString;
#[derive(JSTraceable, PartialEq, Copy, Clone, Debug, HeapSizeOf)] #[derive(JSTraceable, PartialEq, Copy, Clone, Debug, HeapSizeOf)]
enum EventSourceReadyState { enum EventSourceReadyState {
Connecting = 0, Connecting = 0,
#[allow(dead_code)]
Open = 1, Open = 1,
Closed = 2 Closed = 2
} }