diff options
| author | diogo <[email protected]> | 2020-05-23 15:29:14 +0100 |
|---|---|---|
| committer | diogo <[email protected]> | 2020-05-23 15:29:14 +0100 |
| commit | 849139e71a9e3156a1b6fc33d68c310e8425fd55 (patch) | |
| tree | 2d48591186894e8e4cf330829e81b3abe7c89f59 /src/lib.rs | |
| parent | 260b341383a083c4e3491a65fb071d5124e28fa9 (diff) | |
fixed README
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -1,10 +1,10 @@ | |||
| 1 | ///Rust crate to decode and encode hexadecimal. | 1 | //!Rust crate to decode and encode hexadecimal. |
| 2 | /// | 2 | //! |
| 3 | ///#Examples | 3 | //!#Examples |
| 4 | ///``` | 4 | //!``` |
| 5 | ///let hex_string = "1a2b3c"; | 5 | //!let hex_string = "1a2b3c"; |
| 6 | ///let data = rhex::decode_hex(&hex_string).unwrap(); | 6 | //!let data = rhex::decode_hex(&hex_string).unwrap(); |
| 7 | ///``` | 7 | //!``` |
| 8 | 8 | ||
| 9 | #[derive(Debug)] | 9 | #[derive(Debug)] |
| 10 | ///Possible errors that occur during decoding | 10 | ///Possible errors that occur during decoding |
