diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-10-31 20:26:21 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-10-31 20:26:21 +0100 |
| commit | 110e4b9cb9dcbe590d345d8883f0c5f111752f1c (patch) | |
| tree | cb78d7efef91296c2022a02102897b96a25e8619 /src/macros.rs | |
| parent | 65ec3764e59353995a4feaa4214aea8c3e59bc3a (diff) | |
Spans for all parts of functions ✅
Diffstat (limited to 'src/macros.rs')
| -rw-r--r-- | src/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.rs b/src/macros.rs index bbf404be..9fba1d59 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -42,11 +42,11 @@ macro_rules! error_type { /// Create a `Debug` implementation from a `Display` implementation. macro_rules! debug_display { - ($type:ident) => { + ($type:ident) => ( impl std::fmt::Debug for $type { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { std::fmt::Display::fmt(self, f) } } - }; + ); } |
