Skip to content

Commit

Permalink
Fix InvalidLength doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Jan 14, 2021
1 parent 2ebbb47 commit 46acd77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/uint.rs
Expand Up @@ -496,8 +496,8 @@ construct_uint!(Uint128, 2);
/// Uint error
#[derive(Debug)]
pub enum Error {
/// Invalid slice length
InvalidLength(usize, usize), // (expected, actual)
/// Invalid slice length (actual, expected)
InvalidLength(usize, usize),
}

impl Uint256 {
Expand Down

0 comments on commit 46acd77

Please sign in to comment.