瀏覽代碼

docs: Fix broken link

armaniferrante 4 年之前
父節點
當前提交
ef6123f215
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/src/tutorials/tutorial-2.md

+ 1 - 1
docs/src/tutorials/tutorial-2.md

@@ -61,7 +61,7 @@ Here, several `#[account(..)]` attributes are used.
 
 If any of these constraints do not hold, then the `increment` instruction will never be executed.
 This allows us to completely separate account validation from our program's business logic, allowing us
-to reason about each concern more easily. For more, see the full [list](https://github.com/project-serum/anchor#accounts-attribute-syntax) of account constraints.
+to reason about each concern more easily. For more, see the full [list](https://docs.rs/anchor-lang/latest/anchor_lang/derive.Accounts.html) of account constraints.
 
 ## Next Steps