1
Fork 0

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:
Alex Crichton 2014-03-31 19:01:01 -07:00
parent 683197975c
commit 922dcfdc69
25 changed files with 56 additions and 48 deletions

View file

@ -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 {