Skip to content

Commit 11364a4

Browse files
committed
clippy
1 parent 3152767 commit 11364a4

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

sled-agent/bootstrap-common/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl RssContext {
139139
log: &Logger,
140140
) -> Result<(), omicron_ledger::Error> {
141141
let mut ledger = Ledger::<RssCompleteMarker>::new_with(
142-
&log,
142+
log,
143143
self.completed_marker_paths(),
144144
RssCompleteMarker::default(),
145145
);

sled-agent/rack-setup/src/service.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ pub struct RackSetupService {
294294

295295
impl RackSetupService {
296296
/// Creates a new rack setup service, which runs in a background task.
297-
#[expect(clippy::too_many_arguments)]
298297
pub fn new<T: LocalBootstrapAgent + 'static>(
299298
ctx: RssContext,
300299
request: RackInitializeRequestParams,
@@ -1012,7 +1011,6 @@ impl ServiceInner {
10121011
// rack, a marker file is created at "rss_completed_marker_path()". This
10131012
// indicates that the plan executed successfully, and the only work
10141013
// remaining is to handoff to Nexus.
1015-
#[expect(clippy::too_many_arguments)]
10161014
async fn run<T: LocalBootstrapAgent>(
10171015
&self,
10181016
ctx: RssContext,

0 commit comments

Comments
 (0)