Browse Source

Use correct crate name in readme example (#595)

Brian Anderson 4 năm trước cách đây
mục cha
commit
80e4030e45
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -39,7 +39,7 @@ Here's a counter program, where only the designated `authority`
 can increment the count.
 
 ```rust
-use anchor::prelude::*;
+use anchor_lang::prelude::*;
 
 #[program]
 mod counter {