diff options
author | snek <snek@deno.com> | 2024-07-01 15:48:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 15:48:52 -0700 |
commit | a555cb4d1d3c04a4bdc0e04d20d23b157cef3b92 (patch) | |
tree | 9ebedb3c3cc499026f84053e6774a10ae19b2f75 /ext/node/ops/zlib/mod.rs | |
parent | 740c6a0998fb5873d0b9bf804b2f9c9730743e90 (diff) |
feat: upgrade deno_core (#24364)
- Symbol.asyncDispose no longer needs to be polyfilled
- assorted updates for cppgc api changes
Diffstat (limited to 'ext/node/ops/zlib/mod.rs')
-rw-r--r-- | ext/node/ops/zlib/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/ops/zlib/mod.rs b/ext/node/ops/zlib/mod.rs index 9e030176a..b1d6d21d2 100644 --- a/ext/node/ops/zlib/mod.rs +++ b/ext/node/ops/zlib/mod.rs @@ -144,7 +144,7 @@ impl ZlibInner { self.err = self.strm.inflate(self.flush); // TODO(@littledivy): Use if let chain when it is stable. // https://github.com/rust-lang/rust/issues/53667 - // + // // Data was encoded with dictionary if let (Z_NEED_DICT, Some(dictionary)) = (self.err, &self.dictionary) { self.err = self.strm.inflate_set_dictionary(dictionary); @@ -233,7 +233,7 @@ struct Zlib { inner: RefCell<Option<ZlibInner>>, } -impl deno_core::GcResource for Zlib {} +impl deno_core::GarbageCollected for Zlib {} impl deno_core::Resource for Zlib { fn name(&self) -> Cow<str> { |