diff options
author | cypherpunks <cypherpunks@torproject.org> | 2018-08-07 15:06:18 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 02:38:23 +0000 |
commit | fc7fed6155ab62b1347682c0b1539a5ac292bbee (patch) | |
tree | e2461303aa8a5a23641b1fee305bc5ca206bf8a7 /src/rust | |
parent | e65a4fa42cdb3a2a0419e6178e1c141c98b28088 (diff) | |
download | tor-fc7fed6155ab62b1347682c0b1539a5ac292bbee.tar.gz tor-fc7fed6155ab62b1347682c0b1539a5ac292bbee.zip |
rust/protover: fix docs for UnvalidatedProtoEntry::from_str
This got shuffled around in b786b146edd33b025774819f54d7bba3d07bf832
and hasn't been accurate since 124caf28e6db1e7bf8cdfef25c55760c81fb91b5.
Diffstat (limited to 'src/rust')
-rw-r--r-- | src/rust/protover/protover.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs index f8e64c822c..157027750f 100644 --- a/src/rust/protover/protover.rs +++ b/src/rust/protover/protover.rs @@ -493,11 +493,9 @@ impl FromStr for UnvalidatedProtoEntry { /// /// # Returns /// - /// A `Result` whose `Ok` value is a `ProtoSet` holding all of the - /// unique version numbers. + /// A `Result` whose `Ok` value is an `UnvalidatedProtoEntry`. /// - /// The returned `Result`'s `Err` value is an `ProtoverError` whose `Display` - /// impl has a description of the error. + /// The returned `Result`'s `Err` value is an `ProtoverError`. /// /// # Errors /// |