Skip to content

Commit

Permalink
Fix typos in ToHex Doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dspicher authored and KokaKiwi committed Oct 29, 2020
1 parent be0c32f commit d8fa31f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -59,11 +59,11 @@ pub use crate::serde::{deserialize, serialize, serialize_upper};
///
/// *Note*: instead of using this trait, you might want to use [`encode()`].
pub trait ToHex {
/// Encode the hex strict representing `self` into the result.. Lower case
/// Encode the hex strict representing `self` into the result. Lower case
/// letters are used (e.g. `f9b4ca`)
fn encode_hex<T: iter::FromIterator<char>>(&self) -> T;

/// Encode the hex strict representing `self` into the result.. Lower case
/// Encode the hex strict representing `self` into the result. Upper case
/// letters are used (e.g. `F9B4CA`)
fn encode_hex_upper<T: iter::FromIterator<char>>(&self) -> T;
}
Expand Down

0 comments on commit d8fa31f

Please sign in to comment.