diff --git a/docs/src/types/address.md b/docs/src/types/address.md index 8ced0feb63..e966caa088 100644 --- a/docs/src/types/address.md +++ b/docs/src/types/address.md @@ -1,6 +1,6 @@ # `Address` -Like `Bytes32`, `Address` is a wrapper on `[u8; 32]` with similar methods and implements the same traits (see [fuel-types documentation](https://docs.rs/fuel-types/{{versions.fuel-types}}/fuel_types/struct.Address.html)). +Like `Bytes32`, `Address` is a wrapper on `[u8; 32]` with similar methods and implements the same traits (see [fuel-types documentation](https://docs.rs/fuel-types/latest/fuel_types/struct.Address.html)). These are the main ways of creating an `Address`: diff --git a/docs/src/types/bytes32.md b/docs/src/types/bytes32.md index 4558e77b8a..70f6700503 100644 --- a/docs/src/types/bytes32.md +++ b/docs/src/types/bytes32.md @@ -14,6 +14,6 @@ These are the main ways of creating a `Bytes32`: {{#include ../../../examples/types/src/lib.rs:bytes32_format}} ``` -For a full list of implemented methods and traits, see the [fuel-types documentation](https://docs.rs/fuel-types/{{versions.fuel-types}}/fuel_types/struct.Bytes32.html). +For a full list of implemented methods and traits, see the [fuel-types documentation](https://docs.rs/fuel-types/latest/fuel_types/struct.Bytes32.html). > **Note:** In Fuel, there's a special type called `b256`, which is similar to `Bytes32`; also used to represent hashes, and it holds a 256-bit value. In Rust, through the SDK, this is represented as `Bits256(value)` where `value` is a `[u8; 32]`. If your contract method takes a `b256` as input, all you need to do is pass a `Bits256([u8; 32])` when calling it from the SDK.