std,extra: Make some types public and other private.

These are either returned from public functions, and really should
appear in the documentation, but don't since they're private, or are
implementation details that are currently public.
This commit is contained in:
Huon Wilson
2014-01-26 13:25:02 +11:00
parent 6516b303b5
commit 0aef487a5c
7 changed files with 16 additions and 14 deletions

View File

@@ -620,7 +620,7 @@ enum NormalizationForm {
/// External iterator for a string's normalization's characters.
/// Use with the `std::iter` module.
#[deriving(Clone)]
struct Normalizations<'a> {
pub struct Normalizations<'a> {
priv kind: NormalizationForm,
priv iter: Chars<'a>,
priv buffer: ~[(char, u8)],