Closed CardboardTurkey closed 4 months ago
should_panic doesn't accept an expected parameter for doc tests (unlike unit tests).
should_panic
expected
Without this commit cargo doesn't recognise/render it as a doc test.
See docs.rs for how the doc test isn't currently rendered properly
should_panic
doesn't accept anexpected
parameter for doc tests (unlike unit tests).Without this commit cargo doesn't recognise/render it as a doc test.