We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee1057 commit db4d3c0Copy full SHA for db4d3c0
src/borsh.rs
@@ -40,19 +40,3 @@ impl BorshDeserialize for SmolStr {
40
}
41
42
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