mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Replace uses of libcore with libstd in components/script
This commit is contained in:
parent
99b052d3a6
commit
a819cfb0fa
8 changed files with 9 additions and 14 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue