Skip to content

Commit

Permalink
revert fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymar committed Feb 22, 2024
1 parent f22225c commit 47587c9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ic-utils/src/interfaces/management_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,25 +211,13 @@ pub struct CanisterLogRecord {
pub content: Vec<u8>,
}

impl std::fmt::Display for CanisterLogRecord {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
std::fmt::Debug::fmt(self, f)
}
}

/// The result of a [`ManagementCanister::fetch_canister_logs`] call.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, CandidType)]
pub struct FetchCanisterLogsResponse {
/// The logs of the canister.
pub canister_log_records: Vec<CanisterLogRecord>,
}

impl std::fmt::Display for FetchCanisterLogsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
std::fmt::Debug::fmt(self, f)
}
}

/// A SHA-256 hash of a WASM chunk.
pub type ChunkHash = [u8; 32];

Expand Down

0 comments on commit 47587c9

Please sign in to comment.