Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Aug 14, 2024
1 parent 04c5ed6 commit 4ec3c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ fn stats() -> Stats {
///
/// Note: In case of conflict, existing data is overwritten. This situation is expected to occur only if a migration failed and had to be restarted.
#[update(guard = "caller_is_allowed")]
#[allow(clippy::needless_pass_by_value)]
fn bulk_up(data: Vec<u8>) {
migrate::bulk_up(&data);
}
Expand Down
3 changes: 2 additions & 1 deletion src/shared/src/backend_api.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Selected backend canister API signatures.
use crate::types::*;
#![allow(clippy::missing_errors_doc)] // The code is auto-generated. Baybe `didc bind` will preserve comments in future.
use crate::types::{user_profile, Guards};
use candid::{self, Principal};
use ic_cdk::api::call::CallResult as Result;
use user_profile::Stats;
Expand Down

0 comments on commit 4ec3c34

Please sign in to comment.