Fix typo in docs (#17920) (#17938)

(cherry picked from commit 3657469826)

Co-authored-by: Sarat Limawongpranee <innneang@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-14 12:04:02 -06:00
committed by GitHub
parent fed90cfbe8
commit 54bc3e606e

View File

@ -240,7 +240,7 @@ pub fn find_program_address(
Clients can use the `create_program_address` function to generate a destination
address. In this example, we assume that
`create_program_address(&[&["escrow]], &escrow_program_id)` generates a valid
`create_program_address(&[&["escrow"]], &escrow_program_id)` generates a valid
program address that is off the curve.
```rust,ignore