GitHub PushEvent at 2014-02-16 02:56:30
Repository: rust
Actor: bors
Payload: {"shas":[["23fdbcf7dddca3aae0ab02ee205344659f33abcb","f8800a61e50195b5e128e84204d223c2328d9074@gmail.com","Add a method to LimitReader to return the limit\n\nThis is useful in contexts like this:\n\nlet size = rdr.read_be_i32() as uint;\nlet mut limit = LimitReader::new(rdr.by_ref(), size);\nlet thing = read_a_thing(&mut limit);\nassert!(limit.limit() == 0);","Steven Fackler",true],["49ba513c78e6430e55e5478f478a157e085a639a","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #12299 : sfackler/rust/limit-return, r=alexcrichton\n\nThis is useful in contexts like this:\r\n\r\n```rust\r\nlet size = rdr.read_be_i32() as uint;\r\nlet mut limit = LimitReader::new(rdr.by_ref(), size);\r\nlet thing = read_a_thing(&mut limit);\r\nassert!(limit.limit() == 0);\r\n```","bors",true]],"size":2,"ref":"refs/heads/auto","head":"49ba513c78e6430e55e5478f478a157e085a639a"}