From 1ceb468ec31bcfc9d695849064d88110ccf022ed Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 3 Sep 2014 10:55:21 -0700 Subject: [PATCH] add issue numbers to todos --- src/client/response.rs | 2 +- src/header.rs | 2 +- src/uri.rs | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/client/response.rs b/src/client/response.rs index 276057f5..538c1247 100644 --- a/src/client/response.rs +++ b/src/client/response.rs @@ -34,7 +34,7 @@ impl Response { match headers.get_ref::() { Some(&TransferEncoding(ref codings)) => { if codings.len() > 1 { - debug!("TODO: handle other codings: {}", codings); + debug!("TODO: #2 handle other codings: {}", codings); }; if codings.contains(&Chunked) { diff --git a/src/header.rs b/src/header.rs index 712aa6a3..ecad693d 100644 --- a/src/header.rs +++ b/src/header.rs @@ -422,7 +422,7 @@ pub enum Encoding { /// The `chunked` encoding. Chunked, - // TODO: implement this in `HttpReader`. + // TODO: #2 implement this in `HttpReader`. /// The `gzip` encoding. Gzip, /// The `deflate` encoding. diff --git a/src/uri.rs b/src/uri.rs index 276337c1..89fd92bf 100644 --- a/src/uri.rs +++ b/src/uri.rs @@ -10,10 +10,12 @@ use url::Url; /// > depending on both the method being requested and whether the request /// > is to a proxy. /// > -/// > request-target = origin-form -/// > / absolute-form -/// > / authority-form -/// > / asterisk-form +/// > ```notrust +/// > request-target = origin-form +/// > / absolute-form +/// > / authority-form +/// > / asterisk-form +/// > ``` #[deriving(Show, PartialEq, Clone)] pub enum RequestUri { /// The most common request target, an absolute path and optional query.