summary refs log tree commit diff stats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d254b6f..6c1f04d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -40,7 +40,8 @@ pub struct TransmuteError(());
 
 impl std::fmt::Display for TransmuteError {
     fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
-        todo!()
+        // FIXME not needed by Datafu.
+        Ok(())
     }
 }
 
@@ -49,13 +50,15 @@ impl std::error::Error for TransmuteError {
 
 impl serde::de::Error for TransmuteError {
     fn custom<T: std::fmt::Display>(t: T) -> Self {
-        todo!()
+        // FIXME not needed by Datafu.
+        TransmuteError(())
     }
 }
 
 impl serde::ser::Error for TransmuteError {
     fn custom<T: std::fmt::Display>(t: T) -> Self {
-        todo!()
+        // FIXME not needed by Datafu.
+        TransmuteError(())
     }
 }