Use backticks not vertical bars to denote variables in comments for /api
Bug: webrtc:12338
Change-Id: Ib97b2c3d64dbd895f261ffa76a2e885bd934a87f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226940
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34554}
diff --git a/api/async_dns_resolver.h b/api/async_dns_resolver.h
index eabb41c..cbe921b 100644
--- a/api/async_dns_resolver.h
+++ b/api/async_dns_resolver.h
@@ -41,10 +41,10 @@
class AsyncDnsResolverResult {
public:
virtual ~AsyncDnsResolverResult() = default;
- // Returns true iff the address from |Start| was successfully resolved.
- // If the address was successfully resolved, sets |addr| to a copy of the
- // address from |Start| with the IP address set to the top most resolved
- // address of |family| (|addr| will have both hostname and the resolved ip).
+ // Returns true iff the address from `Start` was successfully resolved.
+ // If the address was successfully resolved, sets `addr` to a copy of the
+ // address from `Start` with the IP address set to the top most resolved
+ // address of `family` (`addr` will have both hostname and the resolved ip).
virtual bool GetResolvedAddress(int family,
rtc::SocketAddress* addr) const = 0;
// Returns error from resolver.
@@ -55,7 +55,7 @@
public:
virtual ~AsyncDnsResolverInterface() = default;
- // Start address resolution of the hostname in |addr|.
+ // Start address resolution of the hostname in `addr`.
virtual void Start(const rtc::SocketAddress& addr,
std::function<void()> callback) = 0;
virtual const AsyncDnsResolverResult& result() const = 0;