Export std::net_url::encode_component
This commit is contained in:
parent
081a0434fb
commit
47c83f1844
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue