push
github
Fail gracefully on bad `SabreDAG` construction (#10724) (#10769) * Fail gracefully on bad `SabreDAG` construction This is a private, internal Rust type, but it doesn't cost us anything (meaningful) to bounds-check the accessors and ensure we fail gracefully rather than panicking if we ever make a mistake in Python space. This more faithfully fulfills the return value of `SabreDAG::new`, which previously was an effectively infallible `Result`. * Run `cargo fmt` (cherry picked from commit 1606ca354) Co-authored-by: Jake Lishman <jake@binhbar.com>
16 of 16 new or added lines in 1 file covered. (100.0%)
74123 of 84962 relevant lines covered (87.24%)
61065.51 hits per line