fix spelling (#4378)

automerge
This commit is contained in:
Rob Walker 2019-05-21 17:13:21 -07:00 committed by Grimes
parent 52d453d06f
commit 41a377013f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use crate::account::{Account, KeyedAccount};
use crate::instruction::InstructionError;
use bincode::ErrorKind;
/// Conveinence trait to covert bincode errors to instruction errors.
/// Convenience trait to covert bincode errors to instruction errors.
pub trait State<T> {
fn state(&self) -> Result<T, InstructionError>;
fn set_state(&mut self, state: &T) -> Result<(), InstructionError>;