aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-08-28 13:24:39 +0200
committerHampusM <hampus@hampusmat.com>2022-08-28 13:37:14 +0200
commitf91c4ce73786a69e4ec72f69ef4d9d5f03ac5886 (patch)
tree6ac016e731eaf7e6fabdbcf12b84852cbc5af475 /src/lib.rs
parentdd6ae0c8643f08114469ccff66615b45ccf5e13e (diff)
style: add rustfmt config options
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...
/// }
///