Skip to content

Commit 429e14d

Browse files
committed
runtime: cleanup imports
1 parent 6807429 commit 429e14d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

fx-runtime/src/resources/future.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use {
22
std::{task::Poll, rc::Rc, pin::Pin},
3-
futures::{future::{BoxFuture, LocalBoxFuture}, FutureExt},
3+
futures::{future::LocalBoxFuture, FutureExt},
44
send_wrapper::SendWrapper,
55
crate::{
66
function::{instance::{FunctionFuturePollError, FunctionInstance}, deployment::FunctionFutureError},

fx-runtime/src/resources/resource.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use {
22
std::{cell::Cell, rc::Rc},
3-
futures::{future::BoxFuture, stream::BoxStream},
3+
futures::future::BoxFuture,
44
slotmap::Key,
55
crate::{
6-
function::{instance::FunctionInstance, abi::{capnp, abi_function_resources_capnp}},
7-
triggers::http::{FunctionResponse, FunctionResponseInner, FunctionHttpResponse, FetchRequestHeader, FetchRequestBody, HttpBody},
6+
function::instance::FunctionInstance,
7+
triggers::http::{FetchRequestHeader, FetchRequestBody, HttpBody},
88
effects::{
99
sql::{SqlRow, SqlQueryError, SqlBatchError, SqlMigrationError},
1010
blob::BlobGetResponse,
@@ -14,7 +14,7 @@ use {
1414
},
1515
super::{
1616
future::FutureResource,
17-
serialize::{SerializedFunctionResource, SerializableResource},
17+
serialize::SerializableResource,
1818
},
1919
};
2020

fx-runtime/src/resources/serialize.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use {
88
},
99
triggers::http::{FunctionResponse, FunctionResponseInner, FunctionHttpResponse},
1010
resources::{resource::OwnedFunctionResourceId, FunctionResourceId},
11-
definitions::config::ServerConfig,
1211
},
1312
};
1413

0 commit comments

Comments
 (0)