Skip to content

Commit 691feba

Browse files
committed
Use super's BoxError
1 parent 3adad48 commit 691feba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backends/googlepubsub/publisher.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ use std::{
1313
use ya_gcp::pubsub;
1414

1515
use super::{
16-
retry_policy, Connect, DefaultConnector, MakeConnection, PubSubError, SinkError, StatusCodeSet,
17-
TopicName, Uri,
16+
retry_policy, BoxError, Connect, DefaultConnector, MakeConnection, PubSubError, SinkError,
17+
StatusCodeSet, TopicName, Uri,
1818
};
1919

20-
type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;
21-
2220
/// A client through which PubSub publishing operations can be performed.
2321
///
2422
/// This includes managing topics and writing data to topics. Created using

0 commit comments

Comments
 (0)