rust/protover: fix docs for UnvalidatedProtoEntry::from_str

This got shuffled around in b786b146ed
and hasn't been accurate since 124caf28e6.
This commit is contained in:
cypherpunks 2018-08-07 15:06:18 +00:00
parent e65a4fa42c
commit fc7fed6155

View File

@ -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
///