aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/namespace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/namespace.rs')
-rw-r--r--components/util/namespace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/namespace.rs b/components/util/namespace.rs
index 1f32ae83017..8824accae00 100644
--- a/components/util/namespace.rs
+++ b/components/util/namespace.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#[deriving(PartialEq, Clone, Encodable)]
+#[deriving(Eq, PartialEq, Clone, Encodable, Hash)]
pub enum Namespace {
Null,
HTML,