提交 7266981b 编写于 作者: J John Clements

removed obsolete reference to purity

上级 e99657c7
......@@ -64,9 +64,6 @@ pub fn gensym(&self, val: T) -> uint {
new_idx
}
// this isn't "pure" in the traditional sense, because it can go from
// failing to returning a value as items are interned. But for typestate,
// where we first check a pred and then rely on it, ceasing to fail is ok.
pub fn get(&self, idx: uint) -> T { self.vect[idx] }
pub fn len(&self) -> uint { let vect = &*self.vect; vect.len() }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册