Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Aug 9, 2024
1 parent a5af527 commit db51566
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions sdk/hash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,11 @@ impl Hash {

#[cfg(all(test, feature = "frozen-abi", RUSTC_WITH_SPECIALIZATION))]
mod tests {
use super::*;
use solana_frozen_abi::abi_example::AbiExample;
fn foo<T: AbiExample>() {
}
use {super::*, solana_frozen_abi::abi_example::AbiExample};
fn foo<T: AbiExample>() {}

#[test]
fn test_abi_example_impl() {
foo::<Hash>();
}
}
}
4 changes: 2 additions & 2 deletions sdk/program/src/syscalls/definitions.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#[cfg(target_feature = "static-syscalls")]
pub use solana_define_syscall::sys_hash;
#[deprecated(since = "2.1.0", note = "Use `solana_msg::sol_log` instead.")]
pub use solana_msg::sol_log;
#[deprecated(since = "2.1.0", note = "Use solana_hasher::sol_sha256 instead")]
pub use solana_hasher::sol_sha256;
#[deprecated(since = "2.1.0", note = "Use `solana_msg::sol_log` instead.")]
pub use solana_msg::sol_log;
#[deprecated(
since = "2.1.0",
note = "Use `solana_program_memory::syscalls` instead"
Expand Down

0 comments on commit db51566

Please sign in to comment.