File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use crates_io::ssh;
21
21
use crates_io:: storage:: Storage ;
22
22
use crates_io:: worker:: { Environment , RunnerExt } ;
23
23
use crates_io:: { Emails , config} ;
24
- use crates_io_docs_rs:: { DocsRsClient , RealDocsRsClient } ;
24
+ use crates_io_docs_rs:: RealDocsRsClient ;
25
25
use crates_io_env_vars:: var;
26
26
use crates_io_index:: RepositoryConfig ;
27
27
use crates_io_team_repo:: TeamRepoImpl ;
@@ -87,8 +87,7 @@ fn main() -> anyhow::Result<()> {
87
87
let fastly = Fastly :: from_environment ( client. clone ( ) ) ;
88
88
let team_repo = TeamRepoImpl :: default ( ) ;
89
89
90
- let docs_rs: Option < Box < dyn DocsRsClient > > =
91
- RealDocsRsClient :: from_environment ( ) . map ( |cl| Box :: new ( cl) as _ ) ;
90
+ let docs_rs = RealDocsRsClient :: from_environment ( ) . map ( |cl| Box :: new ( cl) as _ ) ;
92
91
93
92
let deadpool = create_database_pool ( & config. db . primary ) ;
94
93
You can’t perform that action at this time.
0 commit comments