@@ -14,7 +14,7 @@ use std::fmt::{self, Formatter};
use std::net::{Ipv4Addr, Ipv6Addr};
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
-pub enum HostInternal {
+pub(crate) enum HostInternal {
None,
Domain,
Ipv4(Ipv4Addr),
@@ -972,7 +972,7 @@ impl<'a> Parser<'a> {
Ok((host, input))
}
- pub fn parse_file_host<'i>(
+ pub(crate) fn parse_file_host<'i>(
&mut self,
input: Input<'i>,
) -> ParseResult<(bool, HostInternal, Input<'i>)> {