We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7f575 commit 0e4fa34Copy full SHA for 0e4fa34
src/policy/mod.rs
@@ -20,8 +20,6 @@ pub mod concrete;
20
pub mod semantic;
21
22
pub use self::concrete::Policy as Concrete;
23
-/// Semantic policies are "abstract" policies elsewhere; but we
24
-/// avoid this word because it is a reserved keyword in Rust
25
pub use self::semantic::Policy as Semantic;
26
use crate::descriptor::Descriptor;
27
use crate::miniscript::{Miniscript, ScriptContext};
src/policy/semantic.rs
@@ -2,6 +2,9 @@
2
// SPDX-License-Identifier: CC0-1.0
3
4
//! Abstract Policies
5
+//!
6
+//! We use the term "semantic" for abstract policies because "abstract" is
7
+//! a reserved keyword in Rust.
8
9
use core::str::FromStr;
10
use core::{fmt, str};
0 commit comments