aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ae580ab..cac6ffe 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -29,7 +29,8 @@ pub mod libs;
mod di_container_binding_map;
mod provider;
-/// Shortcut for creating a DI container binding for a injectable without a declared interface.
+/// Shortcut for creating a DI container binding for a injectable without a declared
+/// interface.
///
/// This will declare a interface for the implementation.
///
@@ -63,7 +64,8 @@ macro_rules! di_container_bind {
/// ```
/// use syrette::declare_default_factory;
///
-/// trait IParser {
+/// trait IParser
+/// {
/// // Methods and etc here...
/// }
///