]> Repositorios git - scryer-prolog.git/commitdiff
#[deny(missing_docs)]
authorbakaq <[email protected]>
Mon, 30 Sep 2024 02:50:15 +0000 (23:50 -0300)
committerbakaq <[email protected]>
Sun, 8 Dec 2024 23:18:06 +0000 (20:18 -0300)
src/lib.rs
src/machine/parsed_results.rs

index 61f98dd9d06e2883101b05f2d898380e7e209524..dc8693eccd5a71dffed1d25e6ffd956f07b31c66 100644 (file)
@@ -1,4 +1,6 @@
+//! A free software ISO Prolog system.
 #![recursion_limit = "4112"]
+#![deny(missing_docs)]
 
 #[macro_use]
 extern crate static_assertions;
index ec3d469362cc4dc79fc12498277b8ed6c5c4fdd9..4791c7772bd617e81c79bcdd0895cef1de07ff9c 100644 (file)
@@ -23,10 +23,14 @@ pub enum LeafAnswer {
     /// An exception leaf answer.
     Exception(PrologTerm),
     /// A leaf answer with bindings and residual goals.
-    ///
-    /// Both bindings and residual goals can be empty.
     LeafAnswer {
+        /// The bindings of variables in the query.
+        ///
+        /// Can be empty.
         bindings: BTreeMap<String, PrologTerm>,
+        /// Residual goals.
+        ///
+        /// Can be empty.
         residual_goals: Vec<PrologTerm>,
     },
 }