gfx-rs/wgpu

[naga] `Arena` could use a `take` method

Fechada

#6.509 aberto em 9 de nov. de 2024

 (2 comentários) (0 reação) (0 responsável)Rust (703 forks)batch import
good first issuekind: refactornaga

Métricas do repositório

Stars
 (9.290 estrelas)
Métricas de merge de PR
 (Mesclagem média 12d 4h) (117 fundiu PRs em 30d)

Description

There are a few places in Naga where we actually clone an Arena, in situations where a take would be better. For example, naga::front::wgsl::lower::Lowerer::lower clones the diagnostic filters array.

Guia do colaborador