summaryrefslogtreecommitdiff
path: root/src/string_bytes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_bytes.h')
-rw-r--r--src/string_bytes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string_bytes.h b/src/string_bytes.h
index 9e64fa0ee5..87a296663e 100644
--- a/src/string_bytes.h
+++ b/src/string_bytes.h
@@ -90,7 +90,6 @@ class StringBytes {
int* chars_written = nullptr);
// Take the bytes in the src, and turn it into a Buffer or String.
- // Don't call with encoding=UCS2.
static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
const char* buf,
size_t buflen,