From cf7321256b752983c0d3787fa1b8c11a8a68b85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 5 Nov 2020 00:05:52 +0100 Subject: [PATCH] crypto: fix comment in ByteSource Refs: https://github.com/nodejs/node/pull/35821 --- src/crypto/crypto_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc index 13d5a7f607841d..30cafa62a51704 100644 --- a/src/crypto/crypto_util.cc +++ b/src/crypto/crypto_util.cc @@ -237,7 +237,7 @@ ByteSource& ByteSource::operator=(ByteSource&& other) noexcept { std::unique_ptr ByteSource::ReleaseToBackingStore() { // It's ok for allocated_data_ to be nullptr but - // only if size_ is not zero. + // only if size_ is zero. CHECK_IMPLIES(size_ > 0, allocated_data_ != nullptr); std::unique_ptr ptr = ArrayBuffer::NewBackingStore( allocated_data_,