From 2edf1728a0ec9722fe60038239846ee9e6107b39 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 30 May 2018 15:24:19 +0200 Subject: [PATCH] doc: fix typos on `e.g.` abbreviations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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: https://github.com/nodejs/node/pull/21045 Reviewed-By: Anna Henningsen Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat Reviewed-By: Weijia Wang Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Michaël Zasso Reviewed-By: Benjamin Gruenbaum Reviewed-By: Yuta Hiroto --- doc/api/dns.md | 2 +- doc/api/fs.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 74504910c24107..93f91a6e351c65 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -508,7 +508,7 @@ will be present on the object: | `'PTR'` | `value` | | `'SOA'` | Refer to [`dns.resolveSoa()`][] | | `'SRV'` | Refer to [`dns.resolveSrv()`][] | -| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], eg. `{ entries: ['...'], type: 'TXT' }` | +| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns.resolveTxt()`][], e.g. `{ entries: ['...'], type: 'TXT' }` | Here is an example of the `ret` object passed to the callback: diff --git a/doc/api/fs.md b/doc/api/fs.md index 435cc56d18dffe..c2daa8d71a5055 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2136,7 +2136,7 @@ by [Naming Files, Paths, and Namespaces][]. Under NTFS, if the filename contains a colon, Node.js will open a file system stream, as described by [this MSDN page][MSDN-Using-Streams]. -Functions based on `fs.open()` exhibit this behavior as well. eg. +Functions based on `fs.open()` exhibit this behavior as well: `fs.writeFile()`, `fs.readFile()`, etc. ## fs.openSync(path, flags[, mode])