mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-23 08:48:08 +00:00
Drop unstable__schema
This commit is contained in:
parent
bf431789d3
commit
cf33d6ddb5
1 changed files with 0 additions and 16 deletions
|
|
@ -40,19 +40,3 @@ impl BorshDeserialize for SmolStr {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "borsh/unstable__schema")]
|
||||
mod schema {
|
||||
use alloc::collections::BTreeMap;
|
||||
use borsh::schema::{Declaration, Definition};
|
||||
use borsh::BorshSchema;
|
||||
impl BorshSchema for SmolStr {
|
||||
fn add_definitions_recursively(definitions: &mut BTreeMap<Declaration, Definition>) {
|
||||
str::add_definitions_recursively(definitions)
|
||||
}
|
||||
|
||||
fn declaration() -> Declaration {
|
||||
str::declaration()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue