Skip to content

Commit

Permalink
add meta information
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Jun 29, 2017
1 parent e3d78f3 commit 433cffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "atoi"
version = "0.1.0"
authors = ["Markus Klein <[email protected]>"]
license = "MIT"
repository = "https://github.com/pacman82/atoi-rs"
documentation = "https://docs.rs/atoi/"

# A short blurb about the package. This is not rendered in any format when
# uploaded to crates.io (aka this is not markdown).
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use std::ops::{AddAssign, MulAssign};
/// # Return
/// Returns a tuple with two numbers. The first is the integer parsed or zero, the second is the
/// index of the byte right after the parsed number. If the second element is zero the slice
/// did not start with an ASCII number.
/// did not start with an ASCII digit.
pub fn atoi<I>(text: &[u8]) -> (I, usize)
where I: Zero + One + AddAssign + MulAssign
{
Expand Down

0 comments on commit 433cffd

Please sign in to comment.