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 ;
@@ -83,8 +83,7 @@ fn main() -> anyhow::Result<()> {
83
83
let fastly = Fastly :: from_environment ( client. clone ( ) ) ;
84
84
let team_repo = TeamRepoImpl :: default ( ) ;
85
85
86
- let docs_rs: Option < Box < dyn DocsRsClient > > =
87
- RealDocsRsClient :: from_environment ( ) . map ( |cl| Box :: new ( cl) as _ ) ;
86
+ let docs_rs = RealDocsRsClient :: from_environment ( ) . map ( |cl| Box :: new ( cl) as _ ) ;
88
87
89
88
let deadpool = create_database_pool ( & config. db . primary ) ;
90
89
You can’t perform that action at this time.
0 commit comments