Skip to content
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

Add Label type #1423

Closed
wants to merge 27 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2bd15fa
Add Label type
TheRawMeatball Feb 9, 2021
f41d7eb
General improvement
TheRawMeatball Feb 9, 2021
85eebf2
Fix stuff
TheRawMeatball Feb 9, 2021
857fa83
hotfix
TheRawMeatball Feb 9, 2021
d0cc270
rework to implement suggestions
TheRawMeatball Feb 15, 2021
52567f5
cargo fmt
TheRawMeatball Feb 15, 2021
37941ba
cargo test
TheRawMeatball Feb 15, 2021
fd3747c
Improve Debug impl on dyn Label
TheRawMeatball Feb 16, 2021
4b90fb0
Apply suggestions from code review
TheRawMeatball Feb 16, 2021
b8af092
hotfix
TheRawMeatball Feb 16, 2021
c28f3fd
Implement minor suggestion
TheRawMeatball Feb 16, 2021
099f8a6
Revert changes in tests
TheRawMeatball Feb 16, 2021
e70a8c1
Fix doctest
TheRawMeatball Feb 16, 2021
c002ba2
Fix inconsistencies
TheRawMeatball Feb 16, 2021
2e95129
Merge remote-tracking branch 'upstream/master' into zst-labels
TheRawMeatball Feb 16, 2021
c5724f6
Revert accidental changes
TheRawMeatball Feb 16, 2021
9c70a5d
Switch to requirig Debug impl
TheRawMeatball Feb 16, 2021
6d82c4e
cargo fmt
TheRawMeatball Feb 16, 2021
b7f1e85
Fix test
TheRawMeatball Feb 16, 2021
6e8f6fd
Merge 'upstream/master' into zst-labels
TheRawMeatball Feb 17, 2021
62f1eef
Fancify labels
TheRawMeatball Feb 17, 2021
da24443
mod/use consistency
cart Feb 17, 2021
7c20ed2
Implement requested changes
TheRawMeatball Feb 18, 2021
a904796
cargo fmt
TheRawMeatball Feb 18, 2021
ea539b0
Improvements from @Ratyzs
Ratysz Feb 18, 2021
3f0d074
Resolve conflicts
Ratysz Feb 18, 2021
c6db7b5
Explicit execution order ambiguities API (#1469) (#5)
Ratysz Feb 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule/label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub trait Label<T>: DynHash + DynClone<T> + Send + Sync + 'static {

impl<M: 'static> Debug for dyn Label<M> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str(&self.name())
f.write_str(&format!("\"{}\"", &self.name()))
TheRawMeatball marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down