diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-27 15:30:07 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-27 15:30:07 +0200 |
commit | 1baebacc7f8541ed7077b12b3f8989255ec290fe (patch) | |
tree | 2a7ea2ef46c2bd6433c045756217b2bb8de83c23 /material/Samarog.evtc | |
parent | 84d74c3a47cc0cfad42f2b000a872d9fcbec120e (diff) | |
download | evtclib-1baebacc7f8541ed7077b12b3f8989255ec290fe.tar.gz evtclib-1baebacc7f8541ed7077b12b3f8989255ec290fe.tar.bz2 evtclib-1baebacc7f8541ed7077b12b3f8989255ec290fe.zip |
remove try_trait
The .ok_or() method on Option is enough for those two occasions that we
don't need to activate the complete try_trait feature just for a very
small and questionable ergonomics gain. This also allows us to more
easily discern which data exactly was invalid, as the .ok_or() in
different places could take different error values.
This also allows evtclib to be used on stable now.
Some noise is introduced in the diff due to automatically re-formatting
the source.
Diffstat (limited to 'material/Samarog.evtc')
0 files changed, 0 insertions, 0 deletions