-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saveload overhaul #337
Saveload overhaul #337
Changes from all commits
91f24ca
ef3d8e1
db66d78
fbd2469
5d6d35e
64e38b9
7119258
4cc12af
bb56e33
6068471
b73c659
297abd4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,8 +167,7 @@ impl Errors { | |
#[derive(Derivative)] | ||
#[derivative(Default(bound = ""))] | ||
pub struct Merge<F> { | ||
#[derivative(Default(value = "PhantomData"))] | ||
future_type: PhantomData<F>, | ||
#[derivative(Default(value = "PhantomData"))] future_type: PhantomData<F>, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, is this some new rustfmt setting again? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this attribute necessary at all? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, otherwise There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. PhantomData implements default for any type parameter. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does now but I think it was a rather recent fix which I don't want to rely on yet. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does at least since 1.0.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahhh, the attribute on |
||
spawns: Vec<(Entity, Spawn<F>)>, | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![deny(missing_docs)] | ||
#![warn(missing_docs)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So there are missing documentations? |
||
#![cfg_attr(feature = "nightly", feature(core_intrinsics))] | ||
|
||
//! # SPECS Parallel ECS | ||
|
@@ -199,9 +199,6 @@ extern crate futures; | |
#[cfg(feature = "serde")] | ||
#[macro_use] | ||
extern crate serde; | ||
#[cfg(feature = "serde")] | ||
#[macro_use] | ||
extern crate shred_derive; | ||
|
||
#[cfg(feature = "rudy")] | ||
extern crate rudy; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this TODO to be left to future PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes