i did manage to get a flamegraph using dtrace, despite imprecations from macos that iβm running an unsupported configuration (sheesh)
1
1
it turns out that rust is not a lazy language, so if you write
first_thing().or(second_thing())
both things happen π€ͺ
or_else() is my friend π€
2
2
1
4
nice, my code can parse leap-seconds.list and verify the checksum and many other sorts of cromulence
and print out a new version of leap-seconds.list, and re-parse it, and get the same answer
1
2
bah
conflicting implementations of trait `std::convert::TryFrom<&str>` for type `std::vec::Vec<leapsecs::LeapSec>`:
1
1
hmm and i canβt impl FromStr either because Vec<LeapSec> isnβt defined in my crate even though LeapSec _is_ defined in my crate
1
1
yeah i think iβll just wrap the vec in a tuple struct because iβll want to define a bunch of other methods on it
1
2
std::convert::TryFrom has an associated type called Error
and std::str::FromStr has an associated type called Err
π¦oopsπ¦
1
2
you must be found something a bit odd, u don't get that problem
May 4, 2021 Β· 6:33 PM UTC
1

