Skip to content

Commit 8c722e3

Browse files
committed
Formatting
1 parent e87790e commit 8c722e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/bevy_tasks/src/single_threaded_task_pool.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@ impl TaskPool {
140140
/// caller can spawn long-running future writing results to some channel / event queue
141141
/// and simply call detach on returned Task (like AssetServer does) - spawned future
142142
/// can write results to some channel / event queue.
143-
pub fn spawn_async_compute<T>(
144-
&self,
145-
future: impl Future<Output = T> + 'static,
146-
) -> FakeTask
143+
pub fn spawn_async_compute<T>(&self, future: impl Future<Output = T> + 'static) -> FakeTask
147144
where
148145
T: Send + 'static,
149146
{

0 commit comments

Comments
 (0)