summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2019-10-20 09:56:27 +0100
committerWez Furlong <wez@wezfurlong.org>2019-10-20 09:56:27 +0100
commitf3206690d831fb88f8456ae0d3861d00ad0829a7 (patch)
treee57d47b17c30be97516351364380ecc297ce0f0f /src
parentc60e75a343c4269a9b42c9f2d013b15a13883f41 (diff)
downloadssh2-rs-f3206690d831fb88f8456ae0d3861d00ad0829a7.zip
fix warning in doc build
Diffstat (limited to 'src')
-rw-r--r--src/knownhosts.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knownhosts.rs b/src/knownhosts.rs
index 8ebd6bf..5957369 100644
--- a/src/knownhosts.rs
+++ b/src/knownhosts.rs
@@ -190,9 +190,9 @@ impl KnownHosts {
/// The host is the host name in plain text. The host name can be the IP
/// numerical address of the host or the full name. If you want to add a key
/// for a specific port number for the given host, you must provide the host
- /// name like '[host]:port' with the actual characters '[' and ']' enclosing
+ /// name like `"[host]:port"` with the actual characters `[` and `]` enclosing
/// the host name and a colon separating the host part from the port number.
- /// For example: "[host.example.com]:222".
+ /// For example: `"[host.example.com]:222"`.
///
/// The key provided must be the raw key for the host.
pub fn add(