Export std::net_url::encode_component

This commit is contained in:
Tim Chevalier 2012-10-17 10:39:01 -07:00
parent 081a0434fb
commit 47c83f1844

View File

@ -95,7 +95,7 @@ pub fn encode(s: &str) -> ~str {
* This function is compliant with RFC 3986.
*/
fn encode_component(s: &str) -> ~str {
pub fn encode_component(s: &str) -> ~str {
encode_inner(s, false)
}