From 47c83f1844d033a2ee12aa05eed30112804f4585 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 17 Oct 2012 10:39:01 -0700 Subject: [PATCH] Export std::net_url::encode_component --- src/libstd/net_url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/net_url.rs b/src/libstd/net_url.rs index 109e71a3eaa..8ea9513d155 100644 --- a/src/libstd/net_url.rs +++ b/src/libstd/net_url.rs @@ -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) }