From 7588ceaf353af0f257d4d832bace4600edac704e Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sun, 29 Apr 2018 20:46:41 +0300 Subject: doc: add more missing backticks Also, fix some other nits in passing (formatting, punctuation, typos, redundancy, obsoleteness). PR-URL: https://github.com/nodejs/node/pull/20438 Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig --- doc/api/dns.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/api/dns.md') diff --git a/doc/api/dns.md b/doc/api/dns.md index 46d8995fe9..e8932be9e3 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -194,7 +194,7 @@ dns.lookup('example.com', options, (err, addresses) => ``` If this method is invoked as its [`util.promisify()`][]ed version, and `all` -is not set to `true`, it returns a Promise for an object with `address` and +is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties. ### Supported getaddrinfo flags @@ -238,7 +238,7 @@ dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { ``` If this method is invoked as its [`util.promisify()`][]ed version, it returns a -Promise for an object with `hostname` and `service` properties. +`Promise` for an `Object` with `hostname` and `service` properties. ## dns.resolve(hostname[, rrtype], callback)