Skip to content

Commit bb18490

Browse files
author
IDX GitHub Automation
committed
Automatically fixing code for linting and formatting issues
1 parent d2f5048 commit bb18490

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

rs/nervous_system/clients/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ pub mod delete_canister;
55
pub mod ledger_client;
66
pub mod management_canister_client;
77
pub mod stop_canister;
8-
pub mod update_settings;
98
pub mod take_canister_snapshot;
9+
pub mod update_settings;
1010

1111
mod request;
1212

rs/nervous_system/clients/src/management_canister_client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ use async_trait::async_trait;
1111
use candid::Encode;
1212
use ic_base_types::PrincipalId;
1313
use ic_error_types::RejectCode;
14-
use ic_management_canister_types_private::{CanisterSnapshotResponse, TakeCanisterSnapshotArgs, IC_00};
14+
use ic_management_canister_types_private::{
15+
CanisterSnapshotResponse, IC_00, TakeCanisterSnapshotArgs,
16+
};
1517
use ic_nervous_system_proxied_canister_calls_tracker::ProxiedCanisterCallsTracker;
1618
use ic_nervous_system_runtime::Runtime;
1719
use std::{
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use ic_management_canister_types_private::{CanisterSnapshotResponse, TakeCanisterSnapshotArgs, IC_00};
1+
use ic_management_canister_types_private::{
2+
CanisterSnapshotResponse, IC_00, TakeCanisterSnapshotArgs,
3+
};
24
use ic_nervous_system_runtime::Runtime;
35

46
pub async fn take_canister_snapshot<Rt>(
@@ -7,7 +9,6 @@ pub async fn take_canister_snapshot<Rt>(
79
where
810
Rt: Runtime,
911
{
10-
let (res,) = Rt::call_with_cleanup(IC_00, "take_canister_snapshot", (args,))
11-
.await?;
12+
let (res,) = Rt::call_with_cleanup(IC_00, "take_canister_snapshot", (args,)).await?;
1213
Ok(res)
1314
}

0 commit comments

Comments
 (0)