Skip to content

Commit

Permalink
Switch from crate rc to std::rc now that Weak is stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Jan 25, 2016
1 parent c3dea24 commit 3453dd0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "html5ever"
doctest = false

[features]
unstable = ["tendril/unstable", "string_cache/unstable", "rc/unstable"]
unstable = ["tendril/unstable", "string_cache/unstable"]
heap_size = ["heapsize", "heapsize_plugin"]
codegen = ["html5ever_macros"]

Expand All @@ -27,7 +27,6 @@ phf = "0.7"
string_cache = "0.2.0"
mac = "0"
tendril = "0.1.6"
rc = "0.1.1"
heapsize = { version = "0.1.1", optional = true }
heapsize_plugin = { version = "0.1.0", optional = true }

Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#[cfg(feature = "heap_size")]
extern crate heapsize;

extern crate rc;

#[macro_use]
extern crate log;

Expand Down
2 changes: 1 addition & 1 deletion src/rcdom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use std::borrow::Cow;
use std::io::{self, Write};
use std::mem;
use std::ops::{Deref, DerefMut};
use std::rc::{Rc, Weak};

use rc::{Rc, Weak};
use string_cache::QualName;
use tendril::StrTendril;

Expand Down

0 comments on commit 3453dd0

Please sign in to comment.