summaryrefslogtreecommitdiffstats
path: root/src/http.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-03-19 23:08:16 -0400
committerJesse Luehrs <doy@tozt.net>2015-03-19 23:08:16 -0400
commit425bfded4175663c632d27db1496e3e0b5b158e6 (patch)
tree179dfc7f51c470f1cc81b863ea19816c5a0bd11d /src/http.rs
parentda4d11a3338300961938eb4efc6bbb50bd0ecfde (diff)
downloadmatasano-425bfded4175663c632d27db1496e3e0b5b158e6.tar.gz
matasano-425bfded4175663c632d27db1496e3e0b5b158e6.zip
also make this public
Diffstat (limited to 'src/http.rs')
-rw-r--r--src/http.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.rs b/src/http.rs
index ded9608..bfc65ed 100644
--- a/src/http.rs
+++ b/src/http.rs
@@ -1,6 +1,6 @@
use std::collections::HashMap;
-fn parse_query_string (string: &str) -> HashMap<&str, &str> {
+pub fn parse_query_string (string: &str) -> HashMap<&str, &str> {
let mut map = HashMap::new();
let mut offset = 0;
let len = string.as_bytes().len();