Commit d611d33 1 parent 360bec1 commit d611d33 Copy full SHA for d611d33
File tree 2 files changed +4
-4
lines changed
crates/synd_feed/src/feed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl CacheConfig {
45
45
#[ async_trait]
46
46
pub trait FetchCachedFeed : Send + Sync {
47
47
async fn fetch_feed ( & self , url : String ) -> ParseResult < Arc < types:: Feed > > ;
48
- /// Fetch feeds by spawing tasks
48
+ /// Fetch feeds by spawning tasks
49
49
async fn fetch_feeds_parallel ( & self , urls : & [ String ] ) -> Vec < ParseResult < Arc < types:: Feed > > > ;
50
50
}
51
51
@@ -101,7 +101,7 @@ where
101
101
Ok ( feed)
102
102
}
103
103
104
- /// Fetch feeds by spawing tasks
104
+ /// Fetch feeds by spawning tasks
105
105
async fn fetch_feeds_parallel ( & self , urls : & [ String ] ) -> Vec < ParseResult < Arc < types:: Feed > > > {
106
106
let mut handles = Vec :: with_capacity ( urls. len ( ) ) ;
107
107
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub enum ParserError {
23
23
#[ async_trait]
24
24
pub trait FetchFeed : Send + Sync {
25
25
async fn fetch_feed ( & self , url : String ) -> ParseResult < Feed > ;
26
- /// Fetch feeds by spawing tasks
26
+ /// Fetch feeds by spawning tasks
27
27
async fn fetch_feeds_parallel ( & self , urls : & [ String ] ) -> ParseResult < Vec < Feed > > ;
28
28
}
29
29
35
35
async fn fetch_feed ( & self , url : String ) -> ParseResult < Feed > {
36
36
self . fetch_feed ( url) . await
37
37
}
38
- /// Fetch feeds by spawing tasks
38
+ /// Fetch feeds by spawning tasks
39
39
async fn fetch_feeds_parallel ( & self , urls : & [ String ] ) -> ParseResult < Vec < Feed > > {
40
40
self . fetch_feeds_parallel ( urls) . await
41
41
}
You can’t perform that action at this time.
0 commit comments