mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
rust/protover: fix docs for UnvalidatedProtoEntry::from_str
This got shuffled around inb786b146ed
and hasn't been accurate since124caf28e6
.
This commit is contained in:
parent
e65a4fa42c
commit
fc7fed6155
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user