Skip to content

Commit 0bee997

Browse files
authored
chore(docs): fix broken aztec nr links (#21041)
title
2 parents 116d306 + 700d082 commit 0bee997

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/developer_versioned_docs/version-v5.0.0-nightly.20260303/docs/aztec-nr/framework-description/contract_structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `#[aztec]` macro performs a lot of the low-level operations required to take
5656

5757
## Imports
5858

59-
Aside from the [`#[aztec]`](pathname:///aztec-nr-api/nightly/noir_aztec/macros/aztec/fn.aztec) macro import, all other imports need to go _inside_ the `contract` block - this is because `contract` acts like `mod`, creating a new [module](https://noir-lang.org/docs/noir/modules_packages_crates/modules).
59+
Aside from the [`#[aztec]`](pathname:///aztec-nr-api/nightly/noir_aztec/macros/fn.aztec) macro import, all other imports need to go _inside_ the `contract` block - this is because `contract` acts like `mod`, creating a new [module](https://noir-lang.org/docs/noir/modules_packages_crates/modules).
6060

6161
```rust
6262
use aztec::macros::aztec;

docs/docs-developers/docs/aztec-nr/framework-description/contract_structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `#[aztec]` macro performs a lot of the low-level operations required to take
5656

5757
## Imports
5858

59-
Aside from the [`#[aztec]`](pathname:///aztec-nr-api/#api_ref_version/noir_aztec/macros/aztec/fn.aztec) macro import, all other imports need to go _inside_ the `contract` block - this is because `contract` acts like `mod`, creating a new [module](https://noir-lang.org/docs/noir/modules_packages_crates/modules).
59+
Aside from the [`#[aztec]`](pathname:///aztec-nr-api/#api_ref_version/noir_aztec/macros/fn.aztec) macro import, all other imports need to go _inside_ the `contract` block - this is because `contract` acts like `mod`, creating a new [module](https://noir-lang.org/docs/noir/modules_packages_crates/modules).
6060

6161
```rust
6262
use aztec::macros::aztec;

0 commit comments

Comments
 (0)