From f8c5c880bdc701392f242187ef6a89fb8ec1c35e Mon Sep 17 00:00:00 2001 From: Alex Plotnick Date: Wed, 31 Jul 2024 14:03:10 -0600 Subject: [PATCH] Fix a few doc-comment typos --- .../planning/src/blueprint_builder/builder.rs | 14 +++++++------- nexus/types/src/deployment.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nexus/reconfigurator/planning/src/blueprint_builder/builder.rs b/nexus/reconfigurator/planning/src/blueprint_builder/builder.rs index 79ca2615ff..e63ee3e76c 100644 --- a/nexus/reconfigurator/planning/src/blueprint_builder/builder.rs +++ b/nexus/reconfigurator/planning/src/blueprint_builder/builder.rs @@ -1221,13 +1221,13 @@ impl<'a> BlueprintBuilder<'a> { allocator.alloc().ok_or(Error::OutOfAddresses { sled_id }) } - // Selects a zpools for this zone type. - // - // This zpool may be used for either durable storage or transient - // storage - the usage is up to the caller. - // - // If `zone_kind` already exists on `sled_id`, it is prevented - // from using the same zpool as exisitng zones with the same kind. + /// Selects a zpool for this zone type. + /// + /// This zpool may be used for either durable storage or transient + /// storage - the usage is up to the caller. + /// + /// If `zone_kind` already exists on `sled_id`, it is prevented + /// from using the same zpool as existing zones with the same kind. fn sled_select_zpool( &self, sled_id: SledUuid, diff --git a/nexus/types/src/deployment.rs b/nexus/types/src/deployment.rs index cc48f2646a..6aa50f0a70 100644 --- a/nexus/types/src/deployment.rs +++ b/nexus/types/src/deployment.rs @@ -546,7 +546,7 @@ impl BlueprintZonesConfig { } /// Returns true if all zones in the blueprint have a disposition of - // `Expunged`, false otherwise. + /// `Expunged`, false otherwise. pub fn are_all_zones_expunged(&self) -> bool { self.zones .iter()