Closed Byron closed 4 years ago
It looks like CI fails as cargo doc
is run with rust 1.40. Recently clippy started to suggest the matches!() macro, which is available in 1.42 and above.
Would you like me to remove usages of the matches!()
macro, or rather allow docs to be generated with rustc 1.42?
Might be easiest to remove the use of matches!, rather than adjusting ci to skip doctests on 1.40. Either way works for me though!
Alright! I think if travis runs the .travis.yaml
from the PR, it should work next time with upping the minimal version used to 1.42 . I really like matches!()
and am glad clippy now informs about it - wasn't aware of it's existence at all till now.
Thanks!
What's missing is running these on CI, which I refrained from doing in this PR to not conflate things.