mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
get() must always return a rooted value, because we have no way of ensuring the value won't be invalidated. set() takes an &T because it's convenient; there isn't any need to expose JS<T>.
4.6 KiB
4.6 KiB