Skip to content

Commit 6d845e5

Browse files
committed
clarify comment
1 parent 43be1be commit 6d845e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stackable-operator/src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const LOWERCASE_RFC_1123_SUBDOMAIN_ERROR_MSG: &str = "a lowercase RFC 1123 subdo
3636

3737
pub const DOMAIN_MAX_LENGTH: usize = RFC_1123_SUBDOMAIN_MAX_LENGTH;
3838

39-
/// Same as [`RFC_1123_LABEL_FMT`], but allows a trailing dot
39+
/// String of one or multiple [`RFC_1123_LABEL_FMT`] separated by dots but also allowing a trailing dot
4040
const DOMAIN_FMT: &str = concatcp!(RFC_1123_LABEL_FMT, "(\\.", RFC_1123_LABEL_FMT, ")*\\.?");
4141
const DOMAIN_ERROR_MSG: &str = "a domain must consist of alphanumeric characters, '-' or '.', and must start with an alphanumeric character and end with an alphanumeric character or '.'";
4242

0 commit comments

Comments
 (0)