diff options
Diffstat (limited to 'src/di_container')
-rw-r--r-- | src/di_container/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/di_container/mod.rs b/src/di_container/mod.rs index 7e8c11f..4e60505 100644 --- a/src/di_container/mod.rs +++ b/src/di_container/mod.rs @@ -31,7 +31,7 @@ impl<'a> BindingOptions<'a> /// Returns `Self` with the specified name set. #[must_use] - pub fn name(mut self, name: &'a str) -> Self + pub const fn name(mut self, name: &'a str) -> Self { self.name = Some(name); |