1
Fork 0
mirror of https://github.com/RGBCube/embd-rs synced 2025-07-27 13:37:44 +00:00

Remove wrong instruction

This commit is contained in:
RGBCube 2023-12-21 15:38:07 +03:00
parent 88e2b32d35
commit e77562e096
No known key found for this signature in database

View file

@ -8,8 +8,6 @@ On release mode it falls back to `include_str!`, `include_bytes!` and `include_d
## Usage ## Usage
After running `cargo add embed`, you can do:
```rs ```rs
let contents: String = embed::string!("path/to/file.txt"); let contents: String = embed::string!("path/to/file.txt");
let bytes: Vec<u8> = embed::bytes!("path/to/image.png"); let bytes: Vec<u8> = embed::bytes!("path/to/image.png");