Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Derive Hash for Script
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Sep 26, 2015
1 parent 9e532a2 commit dbafc24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unicode-script"
version = "0.1.0"
version = "0.1.1"
authors = ["The Servo Project Developers"]
license = "MIT / Apache-2.0"
description = "Look up the Unicode Script property"
Expand Down
2 changes: 1 addition & 1 deletion scripts/unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def emit_script_module(f, script_table):
f.write("""pub use self::Script::*;
#[allow(non_camel_case_types)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
/// Represents the Unicode character property **Script**.
///
/// http://www.unicode.org/reports/tr24/
Expand Down
2 changes: 1 addition & 1 deletion src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub const UNICODE_VERSION: (u64, u64, u64) = (8, 0, 0);
pub use self::Script::*;

#[allow(non_camel_case_types)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
/// Represents the Unicode character property **Script**.
///
/// http://www.unicode.org/reports/tr24/
Expand Down

0 comments on commit dbafc24

Please sign in to comment.