summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-10-30 20:13:28 +0100
committerLaurenz <laurmaedje@gmail.com>2019-10-30 20:13:28 +0100
commitccc4639c7d4dfe039d469d16236ac5ad121f4a07 (patch)
tree950829c7bf8c5771bdf608c01a7a7b6b6614df56 /src/macros.rs
parentb4be25e43b1ee9da924d13b7f2e8289f12bd2c3b (diff)
Improve documentation comments 📜
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/macros.rs b/src/macros.rs
index a1c182fb..bbf404be 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -1,4 +1,6 @@
-/// Create an error type.
+//! Auxiliary macros.
+
+/// Create trait implementations for an error type.
macro_rules! error_type {
(
$var:ident: $err:ident,
@@ -38,7 +40,7 @@ macro_rules! error_type {
};
}
-/// Create a `Debug` implementation from a display implementation.
+/// Create a `Debug` implementation from a `Display` implementation.
macro_rules! debug_display {
($type:ident) => {
impl std::fmt::Debug for $type {