diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-07-28 21:08:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 15:08:13 -0400 |
commit | 315efbc0e86d9d848efa4b889aefbc665508598a (patch) | |
tree | b9f4b941a8bed34bae1766d2dd3b3045eb523f68 /cli/doc/parser.rs | |
parent | b7942bf0f6f151e172db9b1e08cf4436e8365e8b (diff) |
fix: downcast from SwcDiagnosticBuffer to OpError (#6909)
Diffstat (limited to 'cli/doc/parser.rs')
-rw-r--r-- | cli/doc/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/doc/parser.rs b/cli/doc/parser.rs index 59fa2b734..14e921237 100644 --- a/cli/doc/parser.rs +++ b/cli/doc/parser.rs @@ -51,7 +51,7 @@ impl DocParser { pub fn new(loader: Box<dyn DocFileLoader>, private: bool) -> Self { DocParser { loader, - ast_parser: AstParser::new(), + ast_parser: AstParser::default(), private, } } |