mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
libstd: Fix missing export from URL module
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//! Types/fns concerning URLs (see RFC 3986)
|
||||
|
||||
export url, userinfo, query, from_str, to_str;
|
||||
export url, userinfo, query, from_str, to_str, get_scheme;
|
||||
|
||||
type url = {
|
||||
scheme: ~str,
|
||||
@@ -236,4 +236,4 @@ fn test_scheme_host_fragment_only_url_parse_and_format() {
|
||||
assert to_str(result::unwrap(from_str(url))) == url;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user