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,
|
||||
);
|
||||
// TODO: avoid emitting these in the first place
|
||||
self.state
|
||||
let _ = self
|
||||
.state
|
||||
.ecs()
|
||||
.fetch::<EventBus<common::event::ServerEvent>>()
|
||||
.recv_all();
|
||||
|
@ -11,7 +11,6 @@
|
||||
trait_alias,
|
||||
type_alias_impl_trait,
|
||||
extend_one,
|
||||
arbitrary_enum_discriminant,
|
||||
arbitrary_self_types
|
||||
)]
|
||||
#![feature(hash_drain_filter)]
|
||||
|
@ -1 +1 @@
|
||||
nightly-2022-09-23
|
||||
nightly-2022-11-28
|
||||
|
@ -11,7 +11,6 @@
|
||||
option_get_or_insert_default,
|
||||
map_try_insert,
|
||||
slice_as_chunks,
|
||||
unzip_option,
|
||||
let_chains
|
||||
)]
|
||||
#![recursion_limit = "2048"]
|
||||
|
@ -814,7 +814,6 @@ impl<V: RectRasterableVol> Terrain<V> {
|
||||
}
|
||||
|
||||
/// Maintain terrain data. To be called once per tick.
|
||||
#[allow(clippy::for_loops_over_fallibles)] // TODO: Pending review in #587
|
||||
pub fn maintain(
|
||||
&mut self,
|
||||
renderer: &mut Renderer,
|
||||
@ -1019,7 +1018,8 @@ impl<V: RectRasterableVol> Terrain<V> {
|
||||
|
||||
span!(guard, "Queue meshing from todo list");
|
||||
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
|
||||
.values_mut()
|
||||
.filter(|todo| !todo.is_worker_active)
|
||||
|
@ -7,7 +7,7 @@
|
||||
)]
|
||||
#![allow(clippy::branches_sharing_code)] // TODO: evaluate
|
||||
#![deny(clippy::clone_on_ref_ptr)]
|
||||
#![feature(option_zip, arbitrary_enum_discriminant, int_log, map_first_last)]
|
||||
#![feature(option_zip)]
|
||||
|
||||
mod all;
|
||||
mod block;
|
||||
|
Loading…
Reference in New Issue
Block a user