提交 2cf0866b 编写于 作者: R Ry Dahl 提交者: Bert Belder

upgrade: Rust 1.39.0 (#3286)

上级 709cb3c9
......@@ -45,7 +45,7 @@ jobs:
- name: Install rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: "1.38.0"
rust-version: "1.39.0"
- name: Install clippy and rustfmt
if: matrix.kind == 'lint'
......
......@@ -580,7 +580,7 @@ impl SourceMapGetter for TsCompiler {
fn get_source_map(&self, script_name: &str) -> Option<Vec<u8>> {
self
.try_to_resolve_and_get_source_map(script_name)
.and_then(|out| Some(out.source_code))
.map(|out| out.source_code)
}
fn get_source_line(&self, script_name: &str, line: usize) -> Option<String> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册