amethyst / amethyst/specs

LazyUpdate::exec uses a &mut ref?

Aperta
#761 1 commento 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
2.6k
Fork
215
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

`LazyUpdate` has two exec fn's, `exec` and `exec_mut`. However it looks like their function signatures are identical?

https://github.com/amethyst/specs/blob/81073f340425803c99e3292fa14ceb00245bfea5/src/world/lazy.rs#L303-L305

https://github.com/amethyst/specs/blob/81073f340425803c99e3292fa14ceb00245bfea5/src/world/lazy.rs#L337-L339

I was wondering what is the difference between the two?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.