Skip to content

Commit 6dce1e9

Browse files
committed
docs: rename Type System to Types
1 parent 1f82ec1 commit 6dce1e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/builder/smart-contracts/rust/api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bindings::export!(MyNote);
108108

109109
---
110110

111-
## Types → [Type System](./types)
111+
## Types → [Types](./types)
112112

113113
### `Felt`
114114

docs/builder/smart-contracts/rust/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Miden supports several account types, configured in `Cargo.toml`:
155155
| Building Block | Description | Details |
156156
|----------------|-------------|---------|
157157
| [Components](./accounts/components) | Reusable code modules with storage and WIT interfaces | `#[component]` macro |
158-
| [Type System](./types) | Felt, Word, Asset — the VM's native types | Field arithmetic |
158+
| [Types](./types) | Felt, Word, Asset — the VM's native types | Field arithmetic |
159159
| [Storage](./accounts/storage) | Up to 255 slots of Value or StorageMap | Persistent state |
160160
| [Custom Types](./accounts/custom-types) | Exported structs/enums for public APIs | `#[export_type]` |
161161
| [Account Operations](./accounts/account-operations) | Read/write account state and vault | `active_account`, `native_account` |

docs/builder/smart-contracts/rust/types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "Type System"
2+
title: "Types"
33
sidebar_position: 3
44
description: "Felt field arithmetic, Word layout, Asset encoding, and type conversions in the Miden Rust SDK."
55
---
66

7-
# Type System
7+
# Types
88

99
Miden's type system is built around field elements rather than standard integers. All computation inside the Miden VM is modular arithmetic over the Goldilocks prime field ($p = 2^{64} - 2^{32} + 1$), so overflow and division behave differently from standard integers. `Felt` is the native numeric type, `Word` is a tuple of four Felts used for [storage](./accounts/storage) and hashing, and `Asset` encodes fungible and non-fungible assets as Words.
1010

0 commit comments

Comments
 (0)