Skip to content

Commit

Permalink
Fixed prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
banescusebi committed Nov 20, 2024
1 parent 2e57bed commit dcf3e70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/courses/onchain-development/anchor-cpi.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ anchor-lang = { version = "0.30.1", features = ["init-if-needed"] }
anchor-spl = "0.30.1"
```

Since we are adding `anchor-spl` as a dependency we also need to add the `idl-build`
for it in the features section of `Cargo.toml`. This is because all types that will be
used in the `Accounts` structures that we are adding in this lesson require the `IdlBuild`
trait implementation to generate an IDL.
Since we are adding `anchor-spl` as a dependency we also need to add the
`idl-build` for it in the features section of `Cargo.toml`. This is because all
types that will be used in the `Accounts` structures that we are adding in this
lesson require the `IdlBuild` trait implementation to generate an IDL.

```rust
[features]
Expand Down

0 comments on commit dcf3e70

Please sign in to comment.