Skip to content

Commit db4d3c0

Browse files
committed
Drop unstable__schema
1 parent 5ee1057 commit db4d3c0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/borsh.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,3 @@ impl BorshDeserialize for SmolStr {
4040
}
4141
}
4242
}
43-
44-
#[cfg(feature = "borsh/unstable__schema")]
45-
mod schema {
46-
use alloc::collections::BTreeMap;
47-
use borsh::schema::{Declaration, Definition};
48-
use borsh::BorshSchema;
49-
impl BorshSchema for SmolStr {
50-
fn add_definitions_recursively(definitions: &mut BTreeMap<Declaration, Definition>) {
51-
str::add_definitions_recursively(definitions)
52-
}
53-
54-
fn declaration() -> Declaration {
55-
str::declaration()
56-
}
57-
}
58-
}

0 commit comments

Comments
 (0)