From aff01b99e5effd5401cf0de451bc97f164cbf8a6 Mon Sep 17 00:00:00 2001 From: Sohrab Date: Wed, 13 Apr 2022 23:38:45 +1000 Subject: [PATCH] docs(tutorial-4): fix link syntax (#1787) --- docs/src/tutorials/tutorial-4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/tutorial-4.md b/docs/src/tutorials/tutorial-4.md index 26e63c2623..2e68b6bfaa 100644 --- a/docs/src/tutorials/tutorial-4.md +++ b/docs/src/tutorials/tutorial-4.md @@ -35,7 +35,7 @@ This macro generates internal anchor code that helps anchor turn the error code To create an error, use the [`error!`](https://docs.rs/anchor-lang/latest/anchor_lang/prelude/macro.error.html) macro together with an error code. This macro creates an [`AnchorError`](https://docs.rs/anchor-lang/latest/anchor_lang/error/struct.AnchorError.html) that includes helpful information like the file and line the error was created in. -To make writing errors even easier, anchor also provides the [`err!`](https://docs.rs/anchor-lang/latest/anchor_lang/prelude/macro.err.html and the [`require!`](https://docs.rs/anchor-lang/latest/anchor_lang/prelude/macro.require.html macros. +To make writing errors even easier, anchor also provides the [`err!`](https://docs.rs/anchor-lang/latest/anchor_lang/prelude/macro.err.html) and the [`require!`](https://docs.rs/anchor-lang/latest/anchor_lang/prelude/macro.require.html) macros. ## Using the Client