Bustage fixes: compile on stable; avoid unused variable warning.
This commit is contained in:
parent
3dc68bcd38
commit
4fde4fe0a6
2 changed files with 10 additions and 4 deletions
|
@ -207,7 +207,7 @@ fn symbolic_schema_to_triples(ident_map: &IdentMap, symbolic_schema: &Value) ->
|
|||
for (ident, mp) in m {
|
||||
let ident = match ident {
|
||||
&Value::Keyword(ref ident) => ident,
|
||||
v => bail!(ErrorKind::BadBootstrapDefinition(format!("Expected namespaced keyword for ident but got '{:?}'", ident))),
|
||||
_ => bail!(ErrorKind::BadBootstrapDefinition(format!("Expected namespaced keyword for ident but got '{:?}'", ident))),
|
||||
};
|
||||
match *mp {
|
||||
Value::Map(ref mpp) => {
|
||||
|
|
|
@ -17,9 +17,15 @@ use std::cmp::{
|
|||
use std::fmt;
|
||||
|
||||
#[cfg(feature = "serde_support")]
|
||||
use serde::{
|
||||
de::{self, Deserialize, Deserializer},
|
||||
ser::{Serialize, Serializer}
|
||||
use serde::de::{
|
||||
self,
|
||||
Deserialize,
|
||||
Deserializer
|
||||
};
|
||||
#[cfg(feature = "serde_support")]
|
||||
use serde::ser::{
|
||||
Serialize,
|
||||
Serializer,
|
||||
};
|
||||
|
||||
// Data storage for both NamespaceableKeyword and NamespaceableSymbol.
|
||||
|
|
Loading…
Reference in a new issue