diff --git a/sdk/program/src/instruction.rs b/sdk/program/src/instruction.rs index 8a67868a2f..ff29c14e13 100644 --- a/sdk/program/src/instruction.rs +++ b/sdk/program/src/instruction.rs @@ -216,7 +216,7 @@ pub struct Instruction { impl Instruction { #[deprecated( since = "1.6.0", - note = "Please use another `Instruction constructor instead" + note = "Please use another Instruction constructor instead, such as `Instruction::new_with_bincode`" )] pub fn new(program_id: Pubkey, data: &T, accounts: Vec) -> Self { Self::new_with_bincode(program_id, data, accounts)