Skip to content

Commit 7bf89c3

Browse files
committed
feat: make all fields public
1 parent 025c775 commit 7bf89c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ use std::collections::HashMap;
1414

1515
#[derive(Debug, PartialEq, Eq)]
1616
pub struct Surf<'a> {
17-
host: &'a str,
18-
path: Vec<&'a str>,
19-
query: HashMap<&'a str, &'a str>,
20-
fragment: Option<&'a str>,
17+
pub host: &'a str,
18+
pub path: Vec<&'a str>,
19+
pub query: HashMap<&'a str, &'a str>,
20+
pub fragment: Option<&'a str>,
2121
}
2222

2323
fn is_letter_or_dot(c: char) -> bool {

0 commit comments

Comments
 (0)