Prechádzať zdrojové kódy

net/hosts: Add onion note about Arti.

parazyd 3 rokov pred
rodič
commit
949b0bb1e9
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/net/hosts.rs

+ 1 - 1
src/net/hosts.rs

@@ -282,7 +282,7 @@ fn filter_non_resolving(connection_addr: Url, input_addrs: HashMap<Url, Vec<IpAd
 
 /// Validate a given .onion address. Currently it just checks that the
 /// length and encoding are ok, and does not do any deeper check. Should
-/// be fixed in the future.
+/// be fixed in the future when arti is ready.
 fn is_valid_onion(onion: &str) -> bool {
     let onion = match onion.strip_suffix(".onion") {
         Some(s) => s,