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;
2121use crates_io:: storage:: Storage ;
2222use crates_io:: worker:: { Environment , RunnerExt } ;
2323use crates_io:: { Emails , config} ;
24- use crates_io_docs_rs:: { DocsRsClient , RealDocsRsClient } ;
24+ use crates_io_docs_rs:: RealDocsRsClient ;
2525use crates_io_env_vars:: var;
2626use crates_io_index:: RepositoryConfig ;
2727use crates_io_team_repo:: TeamRepoImpl ;
@@ -87,8 +87,7 @@ fn main() -> anyhow::Result<()> {
8787 let fastly = Fastly :: from_environment ( client. clone ( ) ) ;
8888 let team_repo = TeamRepoImpl :: default ( ) ;
8989
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 _ ) ;
9291
9392 let deadpool = create_database_pool ( & config. db . primary ) ;
9493
You can’t perform that action at this time.
0 commit comments