0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-10-29 22:37:51 -04:00

Remove TODO comment that's no longer relevant (#246)

This commit is contained in:
Bert Belder 2020-01-23 00:01:53 +01:00
parent 5e55cc5a5c
commit 7e27c88708
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -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>) }