mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 20:55:03 +01:00
improvements
This commit is contained in:
parent
13deef42fd
commit
c5d83fe776
7 changed files with 15 additions and 15 deletions
|
|
@ -68,6 +68,8 @@ pub fn longstr<W: Write>(value: Longstr, writer: &mut W) -> Result<(), TransErro
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// this appears to be unused right now, but it could be used in `Basic` things?
|
||||
#[allow(dead_code)]
|
||||
pub fn timestamp<W: Write>(value: Timestamp, writer: &mut W) -> Result<(), TransError> {
|
||||
writer.write_all(&value.to_be_bytes())?;
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue