fmt does not work with cfg_if (#5829)

This commit is contained in:
Jack May
2019-09-06 15:33:58 -07:00
committed by GitHub
parent 4c4b7d39b8
commit d3052d094c
7 changed files with 62 additions and 46 deletions

View File

@@ -56,8 +56,8 @@ pub fn create_account(
}
use crate::account::KeyedAccount;
use crate::instruction::InstructionError;
use crate::clock::Segment;
use crate::instruction::InstructionError;
pub fn from_keyed_account(account: &KeyedAccount) -> Result<Clock, InstructionError> {
if !check_id(account.unsigned_key()) {