| 1 | extern crate hex_slicerust-analyzer cargo hex-slice 0.1.4 hex_slice/; |
| 2 | use hex_slicerust-analyzer cargo hex-slice 0.1.4 crate/::AsHexrust-analyzer cargo hex-slice 0.1.4 AsHex#; |
| 3 | |
| 4 | fn mainrust-analyzer cargo hex-slice 0.1.4 main().() { |
| 5 | let foo = vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/vec!![0u32, 1 ,2 ,3]; |
| 6 | printlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/println!!("{:x}", foo.as_hexrust-analyzer cargo hex-slice 0.1.4 impl#[`[T]`][AsHex]as_hex().()); |
| 7 | } |
| 8 |