Replace uses of libcore with libstd in components/script

This commit is contained in:
Simon Sapin 2017-10-14 13:08:39 +02:00
parent 99b052d3a6
commit a819cfb0fa
8 changed files with 9 additions and 14 deletions

View file

@ -9,7 +9,7 @@ use style::thread_state;
/// A mutable field in the DOM.
///
/// This extends the API of `core::cell::RefCell` to allow unsafe access in
/// This extends the API of `std::cell::RefCell` to allow unsafe access in
/// certain situations, with dynamic checking in debug builds.
#[derive(Clone, Debug, Default, HeapSizeOf, PartialEq)]
pub struct DomRefCell<T> {
@ -57,7 +57,7 @@ impl<T> DomRefCell<T> {
}
}
// Functionality duplicated with `core::cell::RefCell`
// Functionality duplicated with `std::cell::RefCell`
// ===================================================
impl<T> DomRefCell<T> {
/// Create a new `DomRefCell` containing `value`.