crates/agent2/src/agent2.rs 🔗
@@ -116,7 +116,7 @@ pub struct ThreadEntryId(usize);
impl ThreadEntryId {
pub fn post_inc(&mut self) -> Self {
- let ed = *self;
+ let id = *self;
self.0 += 1;
id
}
Agus Zubiaga , Ben Brandt , and Max Brunsfeld created
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
crates/agent2/src/agent2.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -116,7 +116,7 @@ pub struct ThreadEntryId(usize);
impl ThreadEntryId {
pub fn post_inc(&mut self) -> Self {
- let ed = *self;
+ let id = *self;
self.0 += 1;
id
}