mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Silence a warning in EventSourceReadyState.
This commit is contained in:
parent
f3aa5b40ed
commit
27ad50cfa7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue