ecs: move to rust 2018

master
q3k 2021-03-21 22:33:31 +00:00
parent dca2df8635
commit 45d271c39b
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ load("@rules_rust//rust:rust.bzl", "rust_test", "rust_library")
rust_library(
name = "ecs",
edition = "2018",
srcs = [
"src/lib.rs",

View File

@ -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