Skip to content

Commit

Permalink
Unpublicize reexports, unprefix JSON type aliases
Browse files Browse the repository at this point in the history
The type aliases json::JsonString and json::JsonObject were originally
prefixed with 'json' to prevent collisions with (at the time) the enums
json::String and json::Object respectively. Now that enum namespacing
has landed, this 'json' prefix is redundant and can be removed:

json::JsonArray -> json::Array
json::JsonObject -> json::Object

In addition, this commit also unpublicizes all of the re-exports in this
JSON module, as a part of #19253

[breaking-change]
  • Loading branch information
frewsxcv committed Nov 26, 2014
1 parent 8fb027e commit ce238d7
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 92 deletions.
Loading

4 comments on commit ce238d7

@bors
Copy link
Contributor

@bors bors commented on ce238d7 Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at frewsxcv@ce238d7

@bors
Copy link
Contributor

@bors bors commented on ce238d7 Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging frewsxcv/rust/unprefix-json-types = ce238d7 into auto

@bors
Copy link
Contributor

@bors bors commented on ce238d7 Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

frewsxcv/rust/unprefix-json-types = ce238d7 merged ok, testing candidate = 3dd64b49

@bors
Copy link
Contributor

@bors bors commented on ce238d7 Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.