1212// If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
1313//
1414
15- //! # AST Tree
15+ //! # Abstract Syntax Tree
1616//!
1717//! Defines a variety of data structures for describing Miniscript, a subset of
1818//! Bitcoin Script which can be efficiently parsed and serialized from Script,
2121//! Users of the library in general will only need to use the structures exposed
2222//! from the top level of this module; however for people wanting to do advanced
2323//! things, the submodules are public as well which provide visibility into the
24- //! components of the AST trees .
24+ //! components of the AST.
2525//!
2626
2727#[ cfg( feature = "serde" ) ]
@@ -59,7 +59,7 @@ pub struct Miniscript<Pk: MiniscriptKey> {
5959
6060/// `PartialOrd` of `Miniscript` must depend only on node and not the type information.
6161/// The type information and extra_properties can be deterministically determined
62- /// by the ast tree .
62+ /// by the ast.
6363impl < Pk : MiniscriptKey > PartialOrd for Miniscript < Pk > {
6464 fn partial_cmp ( & self , other : & Miniscript < Pk > ) -> Option < cmp:: Ordering > {
6565 Some ( self . node . cmp ( & other. node ) )
@@ -68,7 +68,7 @@ impl<Pk: MiniscriptKey> PartialOrd for Miniscript<Pk> {
6868
6969/// `Ord` of `Miniscript` must depend only on node and not the type information.
7070/// The type information and extra_properties can be deterministically determined
71- /// by the ast tree .
71+ /// by the ast.
7272impl < Pk : MiniscriptKey > Ord for Miniscript < Pk > {
7373 fn cmp ( & self , other : & Miniscript < Pk > ) -> cmp:: Ordering {
7474 self . node . cmp ( & other. node )
@@ -77,7 +77,7 @@ impl<Pk: MiniscriptKey> Ord for Miniscript<Pk> {
7777
7878/// `PartialEq` of `Miniscript` must depend only on node and not the type information.
7979/// The type information and extra_properties can be deterministically determined
80- /// by the ast tree .
80+ /// by the ast.
8181impl < Pk : MiniscriptKey > PartialEq for Miniscript < Pk > {
8282 fn eq ( & self , other : & Miniscript < Pk > ) -> bool {
8383 self . node . eq ( & other. node )
@@ -86,7 +86,7 @@ impl<Pk: MiniscriptKey> PartialEq for Miniscript<Pk> {
8686
8787/// `Eq` of `Miniscript` must depend only on node and not the type information.
8888/// The type information and extra_properties can be deterministically determined
89- /// by the ast tree .
89+ /// by the ast.
9090impl < Pk : MiniscriptKey > Eq for Miniscript < Pk > { }
9191
9292impl < Pk : MiniscriptKey > fmt:: Debug for Miniscript < Pk > {
0 commit comments