diff --git a/minisql/src/interpreter.rs b/minisql/src/interpreter.rs index 89df2b2..e474673 100644 --- a/minisql/src/interpreter.rs +++ b/minisql/src/interpreter.rs @@ -574,8 +574,8 @@ pub fn example() { { { - // TODO: Why do I have to write these braces explicitely? Why doesn't Rust compiler - // "infer" them? + // HEY_BTW: Seems that there is some Rust inference feature still missing when it comes to + // ownership. That's why we put this block in braces. let _delete_response: Response = state .interpret(Delete(users_position, Some(Eq(id_column, id0.clone())))) .unwrap();