diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-10-04 16:36:34 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-10-04 16:36:34 +0200 |
commit | ef25c86cd7197274850fb268b1e27617035b0bac (patch) | |
tree | 3a3184651b9216ca38c6fac3845540a633c06531 /components/script/fetch.rs | |
parent | b80769dbf5e8f0c59db353b8e0ee7e4d77813294 (diff) | |
download | servo-ef25c86cd7197274850fb268b1e27617035b0bac.tar.gz servo-ef25c86cd7197274850fb268b1e27617035b0bac.zip |
Squash some build warnings.
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index 0fc0fef1f89..d60d174daad 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -153,12 +153,12 @@ impl FetchResponseListener for FetchContext { self.fetch_promise = Some(TrustedPromise::new(promise)); } - fn process_response_chunk(&mut self, mut chunk: Vec<u8>) { + fn process_response_chunk(&mut self, _chunk: Vec<u8>) { // TODO when body is implemented // ... this will append the chunk to Response's body. } - fn process_response_eof(&mut self, response: Result<(), NetworkError>) { + fn process_response_eof(&mut self, _response: Result<(), NetworkError>) { // TODO // ... trailerObject is not supported in Servo yet. } |