Skip to content

Commit 8bbc39d

Browse files
committed
Make HostInternal private
1 parent 3c71cac commit 8bbc39d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::fmt::{self, Formatter};
1414
use std::net::{Ipv4Addr, Ipv6Addr};
1515

1616
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
17-
pub enum HostInternal {
17+
pub(crate) enum HostInternal {
1818
None,
1919
Domain,
2020
Ipv4(Ipv4Addr),

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ impl<'a> Parser<'a> {
972972
Ok((host, input))
973973
}
974974

975-
pub fn parse_file_host<'i>(
975+
pub(crate) fn parse_file_host<'i>(
976976
&mut self,
977977
input: Input<'i>,
978978
) -> ParseResult<(bool, HostInternal, Input<'i>)> {

0 commit comments

Comments
 (0)