ecs: move to rust 2018
parent
dca2df8635
commit
45d271c39b
|
@ -2,6 +2,7 @@ load("@rules_rust//rust:rust.bzl", "rust_test", "rust_library")
|
|||
|
||||
rust_library(
|
||||
name = "ecs",
|
||||
edition = "2018",
|
||||
srcs = [
|
||||
"src/lib.rs",
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ pub trait System<'a> {
|
|||
}
|
||||
|
||||
trait WorldRunner<'a> {
|
||||
fn run_world(&mut self, &'a World);
|
||||
fn run_world(&mut self, w: &'a World);
|
||||
}
|
||||
|
||||
impl<'a, T> WorldRunner<'a> for T
|
||||
|
|
Loading…
Reference in New Issue