Switch some tuple structs to pub fields
This commit deals with the fallout of the previous change by making tuples structs have public fields where necessary (now that the fields are private by default).
This commit is contained in:
parent
683197975c
commit
922dcfdc69
25 changed files with 56 additions and 48 deletions
|
@ -17,7 +17,7 @@ use std::fmt;
|
|||
|
||||
/// Wrapper struct which will emit the HTML-escaped version of the contained
|
||||
/// string when passed to a format string.
|
||||
pub struct Escape<'a>(&'a str);
|
||||
pub struct Escape<'a>(pub &'a str);
|
||||
|
||||
impl<'a> fmt::Show for Escape<'a> {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue