mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
xous-rs: Remove reference on self match.
This commit is contained in:
parent
6c9cc968f6
commit
0141378192
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ impl Message {
|
|||
}
|
||||
|
||||
pub fn to_usize(&self) -> [usize; 6] {
|
||||
let ret = match &*self {
|
||||
let ret = match self {
|
||||
Message::MutableBorrow(m) => (0, m.to_usize()),
|
||||
Message::Borrow(m) => (1, m.to_usize()),
|
||||
Message::Move(m) => (2, m.to_usize()),
|
||||
|
|
|
|||
Loading…
Reference in a new issue