Skip to content

Commit a969f5f

Browse files
committed
add CustomDebug alias for Debug
1 parent df5ff68 commit a969f5f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Better error messages
1111
- no_std support
12+
- `CustomDebug` alias for `Debug`
1213

1314
### Changed
1415
- BREAKING: upgrade from edition 2018 to edition 2021

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#![no_std]
22
use core::fmt;
33

4+
/// Alias of [Debug]
5+
pub use custom_debug_derive::Debug as CustomDebug;
46
pub use custom_debug_derive::*;
57

68
/// Formats a buffer as hex using \xNN notation.

0 commit comments

Comments
 (0)