summaryrefslogtreecommitdiff
path: root/rust/src/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/string.rs')
-rw-r--r--rust/src/string.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/rust/src/string.rs b/rust/src/string.rs
index c7d541ce..8505cbf5 100644
--- a/rust/src/string.rs
+++ b/rust/src/string.rs
@@ -24,7 +24,6 @@ use std::ops::Deref;
use std::path::{Path, PathBuf};
use crate::rc::*;
-use crate::type_archive::TypeArchiveSnapshotId;
use crate::types::QualifiedName;
// TODO: Remove or refactor this.
@@ -288,14 +287,6 @@ impl IntoCStr for &Path {
}
}
-impl IntoCStr for TypeArchiveSnapshotId {
- type Result = CString;
-
- fn to_cstr(self) -> Self::Result {
- self.to_string().to_cstr()
- }
-}
-
pub trait IntoJson {
type Output: IntoCStr;