about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Hartwig <florian.j.hartwig@gmail.com>2014-05-31 17:46:35 +0200
committerFlorian Hartwig <florian.j.hartwig@gmail.com>2014-05-31 17:46:35 +0200
commit096f80e770efd586d614ee3b695c8461587cf9ec (patch)
treed598f26dc42483e43f73ec22ab388fde20e9543b /src
parent0839e940a517fcf6cf8124b22399e75c31703e2c (diff)
Fix broken markup in query_to_str documentation
Diffstat (limited to 'src')
-rw-r--r--src/liburl/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs
index 2120bc10dab..482d7ca899b 100644
--- a/src/liburl/lib.rs
+++ b/src/liburl/lib.rs
@@ -452,8 +452,8 @@ fn query_from_str(rawquery: &str) -> Query {
  *
  * ```rust
  * let query = vec!(("title".to_string(), "The Village".to_string()),
-                    ("north".to_string(), "52.91".to_string()),
-                    ("west".to_string(), "4.10".to_string()));
+ *                  ("north".to_string(), "52.91".to_string()),
+ *                  ("west".to_string(), "4.10".to_string()));
  * println!("{}", url::query_to_str(&query));  // title=The%20Village&north=52.91&west=4.10
  * ```
  */