Skip to content

Commit 96105bb

Browse files
authored
Merge pull request #72 from OttoAllmendinger/cure-ras-syndrome
Cure RAS Syndrome
2 parents 13d5c34 + f96c872 commit 96105bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/miniscript/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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,
@@ -21,7 +21,7 @@
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.
6363
impl<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.
7272
impl<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.
8181
impl<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.
9090
impl<Pk: MiniscriptKey> Eq for Miniscript<Pk> {}
9191

9292
impl<Pk: MiniscriptKey> fmt::Debug for Miniscript<Pk> {

0 commit comments

Comments
 (0)