Skip to content

Commit 46e9dc1

Browse files
committed
rustdoc: remove link to doc/compiler.md
I'm not sure if it's possible to link to .md files in the source code. If so, this isn't the way to do it.
1 parent 67b70e4 commit 46e9dc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/policy/concrete.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ impl<Pk: MiniscriptKey> Policy<Pk> {
346346
///
347347
/// It is **not recommended** to use policy as a stable identifier for a miniscript. You should
348348
/// use the policy compiler once, and then use the miniscript output as a stable identifier. See
349-
/// the compiler document in [`doc/compiler.md`] for more details.
349+
/// the compiler document in `doc/compiler.md` for more details.
350350
#[cfg(feature = "compiler")]
351351
pub fn compile_to_descriptor<Ctx: ScriptContext>(
352352
&self,
@@ -375,7 +375,7 @@ impl<Pk: MiniscriptKey> Policy<Pk> {
375375
///
376376
/// It is **not recommended** to use policy as a stable identifier for a miniscript. You should
377377
/// use the policy compiler once, and then use the miniscript output as a stable identifier. See
378-
/// the compiler document in doc/compiler.md for more details.
378+
/// the compiler document in `doc/compiler.md` for more details.
379379
#[cfg(feature = "compiler")]
380380
pub fn compile<Ctx: ScriptContext>(&self) -> Result<Miniscript<Pk, Ctx>, CompilerError> {
381381
self.is_valid()?;

0 commit comments

Comments
 (0)