#[deny(missing_docs)]
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
|
//! A free software ISO Prolog system.
|
||||||
#![recursion_limit = "4112"]
|
#![recursion_limit = "4112"]
|
||||||
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate static_assertions;
|
extern crate static_assertions;
|
||||||
|
|||||||
@@ -23,10 +23,14 @@ pub enum LeafAnswer {
|
|||||||
/// An exception leaf answer.
|
/// An exception leaf answer.
|
||||||
Exception(PrologTerm),
|
Exception(PrologTerm),
|
||||||
/// A leaf answer with bindings and residual goals.
|
/// A leaf answer with bindings and residual goals.
|
||||||
///
|
|
||||||
/// Both bindings and residual goals can be empty.
|
|
||||||
LeafAnswer {
|
LeafAnswer {
|
||||||
|
/// The bindings of variables in the query.
|
||||||
|
///
|
||||||
|
/// Can be empty.
|
||||||
bindings: BTreeMap<String, PrologTerm>,
|
bindings: BTreeMap<String, PrologTerm>,
|
||||||
|
/// Residual goals.
|
||||||
|
///
|
||||||
|
/// Can be empty.
|
||||||
residual_goals: Vec<PrologTerm>,
|
residual_goals: Vec<PrologTerm>,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user