diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs
index 7e9d8ce2..a1e6e375 100644
--- a/serde/src/ser/impls.rs
+++ b/serde/src/ser/impls.rs
@@ -304,7 +304,7 @@ impl Serialize for ops::Range
{
#[inline]
fn serialize(&self, serializer: &mut S) -> Result<(), S::Error>
- where S: Serialize,
+ where S: Serializer,
{
let mut seq_serializer = try!(serializer.serialize_seq(Some(self.len())));
for e in self.iter() {