diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Rust crate to decode and encode hexadecimal. | 3 | Rust crate to decode and encode hexadecimal. |
| 4 | 4 | ||
| 5 | ##Examples | 5 | ## Examples |
| 6 | ```rust | 6 | ```rust |
| 7 | let hex_string = "1a2b3c"; | 7 | let hex_string = "1a2b3c"; |
| 8 | let data = rhex::decode_hex(&hex_string).unwrap(); | 8 | let data = rhex::decode_hex(&hex_string).unwrap(); |
| @@ -1,6 +1,6 @@ | |||
| 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(); |
