Inline itoa::write
This commit is contained in:
parent
f9a75c0c39
commit
4369fc4dc7
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
use std::{io, mem, ptr, slice};
|
use std::{io, mem, ptr, slice};
|
||||||
|
|
||||||
|
#[inline]
|
||||||
pub fn write<W: io::Write, V: Integer>(wr: &mut W, value: V) -> io::Result<()> {
|
pub fn write<W: io::Write, V: Integer>(wr: &mut W, value: V) -> io::Result<()> {
|
||||||
value.write(wr)
|
value.write(wr)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue