Skip to content

Commit

Permalink
missing pub visibility on Component fields
Browse files Browse the repository at this point in the history
  • Loading branch information
pnordahl committed Jul 30, 2019
1 parent d343839 commit fde42f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl<'a> Components<'a> {
}
#[derive(Debug, PartialEq, Eq)]
pub struct Component<'a> {
label: &'a str,
value: &'a str,
pub label: &'a str,
pub value: &'a str,
}
impl<'a> Iterator for Components<'a> {
type Item = Component<'a>;
Expand Down

0 comments on commit fde42f6

Please sign in to comment.