This repository was archived by the owner on Oct 26, 2021. It is now read-only.
Commit 5f91bd2
committed
fix(sgx): reference that is immediately dereferenced by the compiler
```
error: this expression borrows a reference (`&[u8]`) that is immediately dereferenced by the compiler
Error: --> src/handler.rs:470:53
|
470 | let (c, shim_nonce_ptr) = c.copy_from_slice(&report_bytes).or(Err(libc::EMSGSIZE))?;
| ^^^^^^^^^^^^^ help: change this to: `report_bytes`
|
```
Signed-off-by: Harald Hoyer <harald@redhat.com>1 parent 0f4d92d commit 5f91bd2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| |||
0 commit comments