diff options
author | Rich Trott <rtrott@gmail.com> | 2020-11-03 05:02:22 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-11-03 05:18:07 -0800 |
commit | adfcaded3ca308072b6ae41f6930628c3bf1b6a7 (patch) | |
tree | b43d3a8c5b29f5b89a6568d24b72ee7ee5cf3f18 /src/README.md | |
parent | 1a29c0920c99d32ff197a98009e09f1f21a932c3 (diff) | |
download | node-new-adfcaded3ca308072b6ae41f6930628c3bf1b6a7.tar.gz |
doc: update tables in README files for linting changes
PR-URL: https://github.com/nodejs/node/pull/35905
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'src/README.md')
-rw-r--r-- | src/README.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/README.md b/src/README.md index e81f1e1c70..3289eec27f 100644 --- a/src/README.md +++ b/src/README.md @@ -495,16 +495,16 @@ The most common reasons for this are: holds a value of type `Local<T>`. It has methods that perform the same operations as the methods of `v8::Maybe`, but with different names: -| `Maybe` | `MaybeLocal` | -| ---------------------- | ------------------------------- | -| `maybe.IsNothing()` | `maybe_local.IsEmpty()` | -| `maybe.IsJust()` | `!maybe_local.IsEmpty()` | -| `maybe.To(&value)` | `maybe_local.ToLocal(&local)` | -| `maybe.ToChecked()` | `maybe_local.ToLocalChecked()` | -| `maybe.FromJust()` | `maybe_local.ToLocalChecked()` | -| `maybe.Check()` | – | -| `v8::Nothing<T>()` | `v8::MaybeLocal<T>()` | -| `v8::Just<T>(value)` | `v8::MaybeLocal<T>(value)` | +| `Maybe` | `MaybeLocal` | +| -------------------- | ------------------------------ | +| `maybe.IsNothing()` | `maybe_local.IsEmpty()` | +| `maybe.IsJust()` | `!maybe_local.IsEmpty()` | +| `maybe.To(&value)` | `maybe_local.ToLocal(&local)` | +| `maybe.ToChecked()` | `maybe_local.ToLocalChecked()` | +| `maybe.FromJust()` | `maybe_local.ToLocalChecked()` | +| `maybe.Check()` | – | +| `v8::Nothing<T>()` | `v8::MaybeLocal<T>()` | +| `v8::Just<T>(value)` | `v8::MaybeLocal<T>(value)` | ##### Handling empty `Maybe`s |