about summary refs log tree commit diff
path: root/tvix/eval/src/value/string
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/value/string')
-rw-r--r--tvix/eval/src/value/string/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tvix/eval/src/value/string/mod.rs b/tvix/eval/src/value/string/mod.rs
index 5bcb4786b283..0f41ce9dc73c 100644
--- a/tvix/eval/src/value/string/mod.rs
+++ b/tvix/eval/src/value/string/mod.rs
@@ -455,15 +455,6 @@ impl From<String> for NixString {
     }
 }
 
-impl<T> From<(T, Option<Box<NixContext>>)> for NixString
-where
-    NixString: From<T>,
-{
-    fn from((s, ctx): (T, Option<Box<NixContext>>)) -> Self {
-        Self::new(NixString::from(s).as_ref(), ctx)
-    }
-}
-
 impl From<Box<str>> for NixString {
     fn from(s: Box<str>) -> Self {
         s.into_boxed_bytes().into()