Make blueprint code slightly more resilient to changes.
Leverage traits instead of hard-coded type parameters.
This commit is contained in:
@@ -334,9 +334,10 @@ impl Data {
|
||||
}
|
||||
}
|
||||
|
||||
// Needed because of Blueprint's default, but actually never used.
|
||||
impl Default for Schema {
|
||||
fn default() -> Self {
|
||||
Schema::Unit
|
||||
Schema::Data(Data::Opaque)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user