deno
5b4a9b48 - refactor(ext/node): enforce interior mutable for `NodePermissions` to remove clones (#18831)

Commit
3 years ago
refactor(ext/node): enforce interior mutable for `NodePermissions` to remove clones (#18831) We can make `NodePermissions` rely on interior mutability (which the `PermissionsContainer` is already doing) in order to not have to clone everything all the time. This also reduces the chance of an accidental `borrow` while `borrrow_mut`.
Author
Parents
Loading