Never crash: effects crate without expect()
Effects without expect(): nested parameter groups are looked up with ? (falling back to the effect's top level), the OCIO effects use named constants for the built-in ACES spaces instead of expect()ing a table lookup, curve fitting and Path Text no longer expect on just-pushed vectors. Test-only unreachable!() becomes panic!(). Denies the panic lints in the crate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
10644a83aa
commit
5dd7d9bb57
@@ -0,0 +1,4 @@
|
||||
allow-unwrap-in-tests = true
|
||||
allow-expect-in-tests = true
|
||||
allow-panic-in-tests = true
|
||||
allow-indexing-slicing-in-tests = true
|
||||
Reference in New Issue
Block a user