oxidecomputer/opte

`get_xde_state` should not be returning a `&mut`

Closed this issue · 0 comments

We're effectively creating multiple mutable references since get_xde_state may be called concurrently. There's no real reason it can't return an immutable reference since we're simply accessing Arc or mutex types behind it.