diff options
author | Ry Dahl <ry@tinyclouds.org> | 2019-11-06 12:17:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 12:17:28 -0500 |
commit | 5c1deac0cfe66ef27020aa0e863c16f3bc2afb50 (patch) | |
tree | d3de45e89924de58a5ae573dd5086af04e7a19c6 /cli/worker.rs | |
parent | 92b8674162aff30a9552b1a07855b685d305830a (diff) |
Remove CoreResource::inspect_repr method (#3274)
Towards simplifying (or better removing entirely) the CoreResource
trait. Resources should be any bit of privileged heap allocated memory
that needs to be referenced from JS, not very specific trait
implementations. Therefore CoreResource should be pushed towards being
as general as possible.
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 90fb95af7..6b4970015 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -31,11 +31,7 @@ pub struct WorkerChannels { pub receiver: mpsc::Receiver<Buf>, } -impl CoreResource for WorkerChannels { - fn inspect_repr(&self) -> &str { - "worker" - } -} +impl CoreResource for WorkerChannels {} /// Wraps deno::Isolate to provide source maps, ops for the CLI, and /// high-level module loading. |