aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-04-27 15:30:07 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-04-27 15:30:07 +0200
commit1baebacc7f8541ed7077b12b3f8989255ec290fe (patch)
tree2a7ea2ef46c2bd6433c045756217b2bb8de83c23 /tests
parent84d74c3a47cc0cfad42f2b000a872d9fcbec120e (diff)
downloadevtclib-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 'tests')
0 files changed, 0 insertions, 0 deletions