Skip to content

Commit 0daab64

Browse files
authored
Merge pull request #222 from shimaowo/dispatcher_builder_fix
fix #221 - have DispatcherBuilder::add_batch() use the correct access
2 parents 05a56c4 + d0a4e6e commit 0daab64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dispatch/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ impl<'a, 'b> DispatcherBuilder<'a, 'b> {
275275
reads.dedup();
276276

277277
let mut writes = dispatcher_builder.stages_builder.fetch_all_writes();
278-
writes.extend(<T::BatchSystemData as SystemData>::reads());
278+
writes.extend(<T::BatchSystemData as SystemData>::writes());
279279
writes.sort();
280280
writes.dedup();
281281

0 commit comments

Comments
 (0)