From edfba29efea1faa10631dd76ea4e737f8d8bad79 Mon Sep 17 00:00:00 2001 From: Rahul Kothari Date: Mon, 4 Mar 2024 17:03:55 +0000 Subject: [PATCH] chore: fix docs (#4923) --- docs/docs/developers/contracts/references/storage/main.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/developers/contracts/references/storage/main.md b/docs/docs/developers/contracts/references/storage/main.md index 75275c33987..b78e2fdccd2 100644 --- a/docs/docs/developers/contracts/references/storage/main.md +++ b/docs/docs/developers/contracts/references/storage/main.md @@ -63,11 +63,11 @@ We will see examples of map constructors for public and private variables in lat #### As private storage -When declaring a mapping in private storage, we have to specify which type of Note to use. In the example below, we are specifying that we want to use the `Singleton` note type. +When declaring a mapping in private storage, we have to specify which type of Note to use. In the example below, we are specifying that we want to use the `PrivateMutable` note type. In the Storage struct: -#include_code storage-map-singleton-declaration /noir-projects/noir-contracts/contracts/docs_example_contract/src/main.nr rust +#include_code storage-private-mutable-declaration /noir-projects/noir-contracts/contracts/docs_example_contract/src/main.nr rust #### Public Example