]> git.seodisparate.com - swaybar_info/commit
Refactored handling of Option wrapping primitives
authorStephen Seo <seo.disparate@gmail.com>
Tue, 18 Oct 2022 12:47:11 +0000 (21:47 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 18 Oct 2022 12:47:11 +0000 (21:47 +0900)
commitfb49271a7eb7db25fdd65e039bba8ad30fd55885
tree76fe25e576b637147b091a821fe2185a2356af7f
parentd7ac7de275d101103a23718454deb46fcad3a31d
Refactored handling of Option wrapping primitives

Option wrapping primities implement Copy, so they can be used directly
in the closure, and is more efficient to use copies of f64/u16 than with
references to them.
Changelog.md
src/main.rs