Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Jan 12, 2024
1 parent 2819323 commit f0b813a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal-dns/src/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ impl ServiceName {
}

/// Parses the [ServiceName] from the DNS name (ignoring the zone).
///
/// This should be identical to the output of [Self::dns_name].
// This should be identical to the output of [Self::dns_name].
pub fn from_dns_name(s: &str) -> Result<Self, ParseServiceNameError> {
let mut parts = s.split('.');
let first = parts
Expand Down

0 comments on commit f0b813a

Please sign in to comment.