Skip to content

Commit 096f80e

Browse files
committed
Fix broken markup in query_to_str documentation
1 parent 0839e94 commit 096f80e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liburl/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ fn query_from_str(rawquery: &str) -> Query {
452452
*
453453
* ```rust
454454
* let query = vec!(("title".to_string(), "The Village".to_string()),
455-
("north".to_string(), "52.91".to_string()),
456-
("west".to_string(), "4.10".to_string()));
455+
* ("north".to_string(), "52.91".to_string()),
456+
* ("west".to_string(), "4.10".to_string()));
457457
* println!("{}", url::query_to_str(&query)); // title=The%20Village&north=52.91&west=4.10
458458
* ```
459459
*/

0 commit comments

Comments
 (0)