Commit d363401
committed
embassy-usb: fix
Replaced `core::intrinsics::copy_nonoverlapping` with the
`core::ptr::copy_nonoverlapping`.
Compiling embassy-usb v0.4.0 (embassy/embassy-usb)
warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
--> embassy/embassy-usb/src/class/cdc_ncm/mod.rs:17:23
|
17 | use core::intrinsics::copy_nonoverlapping;
| ^^^^^^^^^^^^^^^^^^^core::intrinsics deprecate warning in nightly.1 parent 113383b commit d363401
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
0 commit comments