Skip to content

Commit

Permalink
Fix a few doc-comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
plotnick committed Aug 23, 2024
1 parent 65a02e2 commit f8c5c88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions nexus/reconfigurator/planning/src/blueprint_builder/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion nexus/types/src/deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f8c5c88

Please sign in to comment.