mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
update toolchain
This commit is contained in:
parent
97903f9092
commit
ba3747a3f0
@ -1789,7 +1789,8 @@ impl Client {
|
|||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
// TODO: avoid emitting these in the first place
|
// TODO: avoid emitting these in the first place
|
||||||
self.state
|
let _ = self
|
||||||
|
.state
|
||||||
.ecs()
|
.ecs()
|
||||||
.fetch::<EventBus<common::event::ServerEvent>>()
|
.fetch::<EventBus<common::event::ServerEvent>>()
|
||||||
.recv_all();
|
.recv_all();
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
trait_alias,
|
trait_alias,
|
||||||
type_alias_impl_trait,
|
type_alias_impl_trait,
|
||||||
extend_one,
|
extend_one,
|
||||||
arbitrary_enum_discriminant,
|
|
||||||
arbitrary_self_types
|
arbitrary_self_types
|
||||||
)]
|
)]
|
||||||
#![feature(hash_drain_filter)]
|
#![feature(hash_drain_filter)]
|
||||||
|
@ -1 +1 @@
|
|||||||
nightly-2022-09-23
|
nightly-2022-11-28
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
option_get_or_insert_default,
|
option_get_or_insert_default,
|
||||||
map_try_insert,
|
map_try_insert,
|
||||||
slice_as_chunks,
|
slice_as_chunks,
|
||||||
unzip_option,
|
|
||||||
let_chains
|
let_chains
|
||||||
)]
|
)]
|
||||||
#![recursion_limit = "2048"]
|
#![recursion_limit = "2048"]
|
||||||
|
@ -814,7 +814,6 @@ impl<V: RectRasterableVol> Terrain<V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Maintain terrain data. To be called once per tick.
|
/// Maintain terrain data. To be called once per tick.
|
||||||
#[allow(clippy::for_loops_over_fallibles)] // TODO: Pending review in #587
|
|
||||||
pub fn maintain(
|
pub fn maintain(
|
||||||
&mut self,
|
&mut self,
|
||||||
renderer: &mut Renderer,
|
renderer: &mut Renderer,
|
||||||
@ -1019,7 +1018,8 @@ impl<V: RectRasterableVol> Terrain<V> {
|
|||||||
|
|
||||||
span!(guard, "Queue meshing from todo list");
|
span!(guard, "Queue meshing from todo list");
|
||||||
let mesh_focus_pos = focus_pos.map(|e| e.trunc()).xy().as_::<i64>();
|
let mesh_focus_pos = focus_pos.map(|e| e.trunc()).xy().as_::<i64>();
|
||||||
for (todo, chunk) in self
|
//TODO: this is actually no loop, it just runs for a single entry because of the `min_by_key`. Evaluate actually looping here
|
||||||
|
while let Some((todo, chunk)) = self
|
||||||
.mesh_todo
|
.mesh_todo
|
||||||
.values_mut()
|
.values_mut()
|
||||||
.filter(|todo| !todo.is_worker_active)
|
.filter(|todo| !todo.is_worker_active)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
)]
|
)]
|
||||||
#![allow(clippy::branches_sharing_code)] // TODO: evaluate
|
#![allow(clippy::branches_sharing_code)] // TODO: evaluate
|
||||||
#![deny(clippy::clone_on_ref_ptr)]
|
#![deny(clippy::clone_on_ref_ptr)]
|
||||||
#![feature(option_zip, arbitrary_enum_discriminant, int_log, map_first_last)]
|
#![feature(option_zip)]
|
||||||
|
|
||||||
mod all;
|
mod all;
|
||||||
mod block;
|
mod block;
|
||||||
|
Loading…
Reference in New Issue
Block a user