|
assert_ne!(direction, Direction::Invalid); |
failing is spectacularly unhelpful. An infallible looking API can fail, and when it does what prints offers no guidance wrt what to do. Ideally we'd avoid being in a bad state but if we need to allow for it then lets use Result?
harfrust/src/hb/ot_shape_plan.rs
Line 50 in d47a254