aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/atom.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-09-18 09:20:19 -0400
committerJosh Matthews <josh@joshmatthews.net>2014-09-18 09:20:19 -0400
commit9607b468bc50496c0de3706d22efaa6fdc68b089 (patch)
tree85615a722eb65681ebccee8d98dc47c7895573c9 /components/util/atom.rs
parent7158cac2dcaabacede36924f52167b8e7b402e7a (diff)
downloadservo-9607b468bc50496c0de3706d22efaa6fdc68b089.tar.gz
servo-9607b468bc50496c0de3706d22efaa6fdc68b089.zip
Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
Diffstat (limited to 'components/util/atom.rs')
-rw-r--r--components/util/atom.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/util/atom.rs b/components/util/atom.rs
index 14215d66528..49cb047768e 100644
--- a/components/util/atom.rs
+++ b/components/util/atom.rs
@@ -18,13 +18,6 @@ pub struct Atom {
impl Atom {
#[inline(always)]
- pub fn new(atom: atom::Atom) -> Atom {
- Atom {
- atom: atom,
- }
- }
-
- #[inline(always)]
pub fn from_slice(slice: &str) -> Atom {
Atom {
atom: atom::Atom::from_slice(slice)