File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ impl ConfigBuilder<AsyncState> {
271
271
/// Registers new [`Source`] in this builder.
272
272
///
273
273
/// Calling this method does not invoke any I/O. [`Source`] is only saved in internal register for later use.
274
- pub fn add_source < T > ( mut self , source : T ) -> ConfigBuilder < AsyncState >
274
+ pub fn add_source < T > ( mut self , source : T ) -> Self
275
275
where
276
276
T : Source + Send + Sync + ' static ,
277
277
{
@@ -282,7 +282,7 @@ impl ConfigBuilder<AsyncState> {
282
282
/// Registers new [`AsyncSource`] in this builder.
283
283
///
284
284
/// Calling this method does not invoke any I/O. [`AsyncSource`] is only saved in internal register for later use.
285
- pub fn add_async_source < T > ( mut self , source : T ) -> ConfigBuilder < AsyncState >
285
+ pub fn add_async_source < T > ( mut self , source : T ) -> Self
286
286
where
287
287
T : AsyncSource + Send + Sync + ' static ,
288
288
{
You can’t perform that action at this time.
0 commit comments