From 69a563e72cb0b7643a766f96cab9a6aa3ccc61ac Mon Sep 17 00:00:00 2001 From: 132nd-Professor <132nd-Professor> Date: Sun, 27 Jun 2021 16:26:34 +0200 Subject: [PATCH] README: added questions / todo --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 404fb06..c2c0aed 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # tacview-splitter-rust +## TODO / questions +``` + Compiling tacview-splitter v0.1.0 (/home/timeshifter/rust/tacview-splitter) +error[E0597]: `body` does not live long enough + --> src/main.rs:26:56 + | +26 | let bodies_by_coalition = divide_body_by_coalition(&body); + | -------------------------^^^^^- + | | | + | | borrowed value does not live long enough + | argument requires that `body` is borrowed for `'static` +... +36 | } + | - `body` dropped here while still borrowed +``` + +Trait implementation for struct templates? +