From 36574698266c45052ee2ff9d3f773f99ef3cb90d Mon Sep 17 00:00:00 2001 From: Sarat Limawongpranee Date: Mon, 14 Jun 2021 23:33:23 +0700 Subject: [PATCH] Fix typo in docs (#17920) --- .../developing/programming-model/calling-between-programs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/developing/programming-model/calling-between-programs.md b/docs/src/developing/programming-model/calling-between-programs.md index 0dd7595282..18a95cbd49 100644 --- a/docs/src/developing/programming-model/calling-between-programs.md +++ b/docs/src/developing/programming-model/calling-between-programs.md @@ -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