mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-25 00:29:14 -05:00
Remove TODO comment that's no longer relevant (#246)
This commit is contained in:
parent
5e55cc5a5c
commit
7e27c88708
1 changed files with 0 additions and 1 deletions
|
@ -209,7 +209,6 @@ impl<T> Deref for SharedRef<T>
|
||||||
where
|
where
|
||||||
T: Shared,
|
T: Shared,
|
||||||
{
|
{
|
||||||
// TODO: Maybe this should deref to UnsafeCell<T>?
|
|
||||||
type Target = UnsafeCell<T>;
|
type Target = UnsafeCell<T>;
|
||||||
fn deref(&self) -> &Self::Target {
|
fn deref(&self) -> &Self::Target {
|
||||||
unsafe { &*(<T as Shared>::deref(self) as *const UnsafeCell<T>) }
|
unsafe { &*(<T as Shared>::deref(self) as *const UnsafeCell<T>) }
|
||||||
|
|
Loading…
Reference in a new issue