Skip to content

Commit

Permalink
feat: make all fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Oct 3, 2023
1 parent 025c775 commit 7bf89c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ use std::collections::HashMap;

#[derive(Debug, PartialEq, Eq)]
pub struct Surf<'a> {
host: &'a str,
path: Vec<&'a str>,
query: HashMap<&'a str, &'a str>,
fragment: Option<&'a str>,
pub host: &'a str,
pub path: Vec<&'a str>,
pub query: HashMap<&'a str, &'a str>,
pub fragment: Option<&'a str>,
}

fn is_letter_or_dot(c: char) -> bool {
Expand Down

0 comments on commit 7bf89c3

Please sign in to comment.