We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c93bd7 commit 3a9eec7Copy full SHA for 3a9eec7
nexus/reconfigurator/planning/src/blueprint_editor/sled_editor.rs
@@ -218,9 +218,7 @@ impl SledEditor {
218
/// decommissioned.
219
pub fn baseboard_id(&self) -> Option<&Arc<BaseboardId>> {
220
match &self.0 {
221
- InnerSledEditor::Active(active) => {
222
- Some(&active.baseboard_id)
223
- }
+ InnerSledEditor::Active(active) => Some(&active.baseboard_id),
224
InnerSledEditor::Decommissioned(_) => None,
225
}
226
0 commit comments