[tor-commits] [tor/master] Stop claiming that compute_for_old_tor() returns pairs

nickm at torproject.org nickm at torproject.org
Thu Feb 8 22:36:17 UTC 2018


commit af049657eb4426f4c1e7c8aa603c6303c9a884cf
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 8 17:36:08 2018 -0500

    Stop claiming that compute_for_old_tor() returns pairs
---
 src/rust/protover/protover.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs
index f3a5ea23e..069b1088c 100644
--- a/src/rust/protover/protover.rs
+++ b/src/rust/protover/protover.rs
@@ -730,8 +730,8 @@ pub fn is_supported_here(proto: Proto, vers: u32) -> bool {
 ///
 /// # Returns
 ///
-/// A `&'static [u8]` whose value is series of pairs, comprising of the protocol name
-/// and versions that it supports. The string takes the following format:
+/// A `&'static [u8]` encoding a list of protocol names and supported
+/// versions. The string takes the following format:
 ///
 /// "HSDir=1-1 LinkAuth=1"
 ///



More information about the tor-commits mailing list