Skip to content

Commit b450ec1

Browse files
authored
fixed xref in starknet-by-example/storage.adoc
1 parent 8052a9a commit b450ec1

File tree

1 file changed

+2
-2
lines changed
  • components/Starknet/modules/guides/pages/starknet-by-example

1 file changed

+2
-2
lines changed

components/Starknet/modules/guides/pages/starknet-by-example/storage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mod Contract {
3636
Both contracts above generate identical Sierra code. The compiler only generates code for storage variables that are actually used in contract functions. Declaring unused storage variables has no impact on contract size or gas costs.
3737
====
3838

39-
For more complex data structures, see xref:starknet-by-example/storing_custom_types)[Storing Custom Types].
39+
For more complex data structures, see xref:starknet-by-example/custom-types#storing_custom_types[Storing Custom Types].
4040

4141
### Storage Space (advanced)
4242

@@ -76,4 +76,4 @@ In our previous contract example:
7676
// [TIP]
7777
// ====
7878
// Notice how many bits are left unused in each slot? This can make storage operations expensive. To optimize storage usage, you can pack multiple variables together. Learn more in (/advanced-concepts/optimisations/store_using_packing)[Storage Optimisation].
79-
// ====
79+
// ====

0 commit comments

Comments
 (0)