summaryrefslogtreecommitdiff
path: root/rust/src/metadata.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-05-27 17:53:57 -0300
committerKyleMiles <krm504@nyu.edu>2024-05-28 17:11:23 -0400
commitfce26815b400b5d3c0b67a46085ba8c9a61c1457 (patch)
treec2828f1147586ca1f5b5235aad27c700d138226b /rust/src/metadata.rs
parent53eed1fedbef8c778ba1ea03d6660a7f097886ca (diff)
update `Session::load_with_option` to the new API
Diffstat (limited to 'rust/src/metadata.rs')
-rw-r--r--rust/src/metadata.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/rust/src/metadata.rs b/rust/src/metadata.rs
index 96571207..9eeff8fa 100644
--- a/rust/src/metadata.rs
+++ b/rust/src/metadata.rs
@@ -710,13 +710,6 @@ impl IntoJson for &Metadata {
}
}
-impl IntoJson for Metadata {
- type Output = BnString;
- fn get_json_string(self) -> Result<BnString, ()> {
- Metadata::get_json_string(&self)
- }
-}
-
impl IntoJson for Ref<Metadata> {
type Output = BnString;
fn get_json_string(self) -> Result<BnString, ()> {