README: added questions / todo

This commit is contained in:
132nd-Professor
2021-06-27 16:26:34 +02:00
parent ce4822dd46
commit 69a563e72c
+18
View File
@@ -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?