Skip to content

Commit 2edf172

Browse files
TrottMylesBorins
authored andcommitted
doc: fix typos on e.g. abbreviations
`eg.` was used in two places where `e.g.` was intended. Replace one instance with `e.g.` and rewrite the other instance to not require the abbreviation at all. PR-URL: #21045 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 60abd08 commit 2edf172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/dns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ will be present on the object:
508508
| `'PTR'` | `value` |
509509
| `'SOA'` | Refer to [`dns.resolveSoa()`][] |
510510
| `'SRV'` | Refer to [`dns.resolveSrv()`][] |
511-
| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], eg. `{ entries: ['...'], type: 'TXT' }` |
511+
| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], e.g. `{ entries: ['...'], type: 'TXT' }` |
512512

513513
Here is an example of the `ret` object passed to the callback:
514514

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ by [Naming Files, Paths, and Namespaces][]. Under NTFS, if the filename contains
21362136
a colon, Node.js will open a file system stream, as described by
21372137
[this MSDN page][MSDN-Using-Streams].
21382138

2139-
Functions based on `fs.open()` exhibit this behavior as well. eg.
2139+
Functions based on `fs.open()` exhibit this behavior as well:
21402140
`fs.writeFile()`, `fs.readFile()`, etc.
21412141

21422142
## fs.openSync(path, flags[, mode])

0 commit comments

Comments
 (0)