File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub const Rule = union(enum) {
9090 /// An entry in a static list of options
9191 list : List ,
9292
93- /// A valid url. Value decides if emtpy string is allowed or not.
93+ /// A valid url. Value decides if empty string is allowed or not.
9494 url : enum { empty , not_empty },
9595
9696 /// Custom validation
@@ -604,7 +604,7 @@ pub fn validateMime(
604604 if (mime_type .len == 0 ) return errors .append (gpa , .{
605605 .tag = .{
606606 .invalid_attr_value = .{
607- .reason = "emtpy MIME type" ,
607+ .reason = "empty MIME type" ,
608608 },
609609 },
610610 .main_location = .{
@@ -658,7 +658,7 @@ pub fn validateMime(
658658 if (subtype .len == 0 ) return errors .append (gpa , .{
659659 .tag = .{
660660 .invalid_attr_value = .{
661- .reason = "emtpy MIME subtype" ,
661+ .reason = "empty MIME subtype" ,
662662 },
663663 },
664664 .main_location = .{
@@ -702,7 +702,7 @@ pub fn validateMime(
702702 if (param_name .len == 0 ) return errors .append (gpa , .{
703703 .tag = .{
704704 .invalid_attr_value = .{
705- .reason = "emtpy MIME parameter name" ,
705+ .reason = "empty MIME parameter name" ,
706706 },
707707 },
708708 .main_location = .{
You can’t perform that action at this time.
0 commit comments