Skip to content

Commit 0b3b269

Browse files
Trotttargos
authored andcommitted
doc: do not use tilde for "about" or "approximately"
Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/special-characters PR-URL: #39344 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 64a185e commit 0b3b269

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: doc/api/buffer.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -5027,9 +5027,10 @@ changes:
50275027

50285028
* {integer} The largest size allowed for a single `Buffer` instance.
50295029

5030-
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (~1 GB).
5030+
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1
5031+
GB).
50315032

5032-
On 64-bit architectures, this value currently is 2<sup>32</sup> (~4 GB).
5033+
On 64-bit architectures, this value currently is 2<sup>32</sup> (about 4 GB).
50335034

50345035
It reflects [`v8::TypedArray::kMaxLength`][] under the hood.
50355036

Diff for: doc/guides/investigating_native_memory_leak.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ Leaks can be introduced in native addons and the following is a simple
100100
example leak based on the "Hello world" addon from
101101
[node-addon-examples](https://github.com/nodejs/node-addon-examples).
102102

103-
In this example, a loop which allocates ~1 MB of memory and never frees it
104-
has been added:
103+
In this example, a loop which allocates approximately 1 MB of memory and never
104+
frees it has been added:
105105

106106
```cpp
107107
void* malloc_holder = nullptr;

0 commit comments

Comments
 (0)