Skip to content
Permalink
Browse files

Update to last updates

  • Loading branch information...
GuillaumeGomez committed Feb 25, 2019
1 parent be23cd9 commit 240fad04f1c5517d5d38ab62c321f09c35a468d1
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/bootstrap/test.rs
@@ -624,11 +624,11 @@ impl Step for RustdocJSNotStd {
const DEFAULT: bool = true;
const ONLY_HOSTS: bool = true;

fn should_run(run: ShouldRun) -> ShouldRun {
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
run.path("src/test/rustdoc-js")
}

fn make_run(run: RunConfig) {
fn make_run(run: RunConfig<'_>) {
let compiler = run.builder.compiler(run.builder.top_stage, run.host);
run.builder.ensure(RustdocJSNotStd {
host: run.host,
@@ -637,7 +637,7 @@ impl Step for RustdocJSNotStd {
});
}

fn run(self, builder: &Builder) {
fn run(self, builder: &Builder<'_>) {
if let Some(ref nodejs) = builder.config.nodejs {
builder.ensure(crate::doc::Std {
target: self.target,

0 comments on commit 240fad0

Please sign in to comment.
You can’t perform that action at this time.