mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #9182 - Ms2ger:es-warning, r=Manishearth
Silence a warning in EventSourceReadyState. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9182) <!-- Reviewable:end -->
This commit is contained in:
commit
e5fcb7a5b7
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