summaryrefslogtreecommitdiffstats
path: root/vendor/gix-features/src/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-features/src/cache.rs')
-rw-r--r--vendor/gix-features/src/cache.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/gix-features/src/cache.rs b/vendor/gix-features/src/cache.rs
index f7a2cf005..c56a34e12 100644
--- a/vendor/gix-features/src/cache.rs
+++ b/vendor/gix-features/src/cache.rs
@@ -11,9 +11,9 @@ mod impl_ {
impl Debug {
/// Create a new instance
#[inline]
- pub fn new(owner: impl Into<String>) -> Self {
+ pub fn new(owner: String) -> Self {
Debug {
- owner: owner.into(),
+ owner,
hits: 0,
puts: 0,
misses: 0,
@@ -61,7 +61,7 @@ mod impl_ {
impl Debug {
/// Create a new instance
#[inline]
- pub fn new(_owner: impl Into<String>) -> Self {
+ pub fn new(_owner: String) -> Self {
Debug
}
/// noop