mirror of
https://github.com/132nd-vWing/tacview-splitter.git
synced 2026-08-26 08:48:38 +02:00
README: added questions / todo
This commit is contained in:
@@ -1,2 +1,20 @@
|
|||||||
# tacview-splitter-rust
|
# 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?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user