Skip to content

Commit ccb05b5

Browse files
committed
Improve rustdocs on Miniscript type
1 parent 20657ea commit ccb05b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/miniscript/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ use crate::{expression, Error, ForEachKey, MiniscriptKey, ToPublicKey, Translate
5050
#[cfg(test)]
5151
mod ms_tests;
5252

53-
/// Top-level script AST type
53+
/// The top-level miniscript abstract syntax tree (AST).
5454
#[derive(Clone)]
5555
pub struct Miniscript<Pk: MiniscriptKey, Ctx: ScriptContext> {
56-
///A node in the Abstract Syntax Tree(
56+
/// A node in the AST.
5757
pub node: Terminal<Pk, Ctx>,
58-
///The correctness and malleability type information for the AST node
58+
/// The correctness and malleability type information for the AST node.
5959
pub ty: types::Type,
60-
///Additional information helpful for extra analysis.
60+
/// Additional information helpful for extra analysis.
6161
pub ext: types::extra_props::ExtData,
6262
/// Context PhantomData. Only accessible inside this crate
6363
phantom: PhantomData<Ctx>,

0 commit comments

Comments
 (0)