Skip to content

Commit

Permalink
Inline itoa::write
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jun 25, 2016
1 parent f9a75c0 commit 4369fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use std::{io, mem, ptr, slice};

#[inline]
pub fn write<W: io::Write, V: Integer>(wr: &mut W, value: V) -> io::Result<()> {
value.write(wr)
}
Expand Down

0 comments on commit 4369fc4

Please sign in to comment.