mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 17:55:45 +01:00
wgpu 30.0.1's Device has no pop_error_scope method. push_error_scope returns an ErrorScopeGuard. pop() lives on that guard. Keep the guard from push_error_scope and call pop() on it. Also drops an unneeded mut on a test binding that never mutates its context. Also runs cargo fmt on the lines the Option-wrapped buffer changes touched.