浏览代码

sdk/python: Remove unused to_json function.

parazyd 3 年之前
父节点
当前提交
af01483bfb
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/sdk/python/src/pasta.rs

+ 0 - 4
src/sdk/python/src/pasta.rs

@@ -132,10 +132,6 @@ macro_rules! impl_elem {
                     CompareOp::Ge => Ok(self.0 >= other.0),
                 }
             }
-
-            fn to_json(&self) -> PyResult<String> {
-                self.__str__()
-            }
         }
     };
 }