eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
362 stars 106 forks source link

fix chrono::Local::timestamp deprecated in chrono 0.4.23 #220

Closed tatref closed 1 year ago

tatref commented 1 year ago

I'm not 100% sure about the expect! macro.

Tell me if it's good

eminence commented 1 year ago

This looks right to me. Our timestamp should never be invalid, and according to the timestamp_opt docs, it will never return an Ambiguous value