harfbuzz / harfbuzz/harfrust

Failure to set direction results in an unhelpful failure from a seemingly infallible method

Open
#84 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
301
Forks
26
Avg merge
10h 11m
Merged PRs (30d)
43

Description

https://github.com/harfbuzz/harfrust/blob/d47a254fbf173b1931211df282c14e1c45dea1c1/src/hb/ot_shape_plan.rs#L50 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.