]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Stop claiming that compute_for_old_tor() returns pairs
authorNick Mathewson <nickm@torproject.org>
Thu, 8 Feb 2018 22:36:08 +0000 (17:36 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 8 Feb 2018 22:36:08 +0000 (17:36 -0500)
src/rust/protover/protover.rs

index f3a5ea23ef40fc872eb16d77a7c584726c481353..069b1088cdc18ed7f4af8662c1af4381b71d748d 100644 (file)
@@ -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"
 ///