tomwhoiscontrary / isots

a program to replace plausible UNIX timestamps with ISO 8601 datetimes
BSD 2-Clause "Simplified" License
3 stars 2 forks source link

dropping a digit #1

Open scarytom opened 6 years ago

scarytom commented 6 years ago

https://github.com/tomwhoiscontrary/isots/blob/6ee1c9539f7d8aa27ae268b717ad048d3067a879/src/main.rs#L64

I just did a dry-run of this code in my head, so apologies if I'm wasting your time, but are you missing a emit(&mut stdout, ch)?; here?

tomwhoiscontrary commented 6 years ago

I think i am. This calls for ... LINEAR TYPES!!!