Skip to content

Commit 394819d

Browse files
committed
Remove copyright
1 parent e2abcc6 commit 394819d

File tree

6 files changed

+5
-62
lines changed

6 files changed

+5
-62
lines changed

site/src/api.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Copyright 2016 The rustc-perf Project Developers. See the COPYRIGHT
2-
// file at the top-level directory.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
9-
101
//! Each API endpoint has its own module. The modules contain Request and/or
112
//! Response structs; these contain the specifications for how to interact
123
//! with the API.

site/src/lib.rs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Copyright 2016 The rustc-perf Project Developers. See the COPYRIGHT
2-
// file at the top-level directory.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
9-
101
use thiserror::Error;
112

123
#[macro_use]
@@ -18,15 +9,14 @@ pub struct CommandFailed {
189
command: String,
1910
}
2011

12+
pub mod api;
13+
pub mod db;
2114
pub mod github;
15+
pub mod load;
16+
pub mod server;
2217

23-
pub mod api;
2418
mod average;
2519
mod comparison;
26-
pub mod db;
2720
mod interpolate;
28-
pub mod load;
2921
mod selector;
3022
mod self_profile;
31-
pub mod server;
32-
pub mod util;

site/src/load.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Copyright 2016 The rustc-perf Project Developers. See the COPYRIGHT
2-
// file at the top-level directory.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
9-
101
use arc_swap::ArcSwap;
112
use std::collections::HashSet;
123
use std::fs;
@@ -19,7 +10,6 @@ use chrono::{Duration, Utc};
1910
use serde::{Deserialize, Serialize};
2011

2112
use crate::db;
22-
use crate::util;
2313
use collector::Bound;
2414
use database::Date;
2515

@@ -259,4 +249,4 @@ impl SiteCtxt {
259249

260250
/// One decimal place rounded percent
261251
#[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)]
262-
pub struct Percent(#[serde(with = "util::round_float")] pub f64);
252+
pub struct Percent(#[serde(with = "collector::round_float")] pub f64);

site/src/main.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Copyright 2016 The rustc-perf Project Developers. See the COPYRIGHT
2-
// file at the top-level directory.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
9-
101
use env_logger;
112

123
use futures::future::FutureExt;

site/src/server.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Copyright 2016 The rustc-perf Project Developers. See the COPYRIGHT
2-
// file at the top-level directory.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
9-
101
use std::cell::RefCell;
112
use std::collections::HashMap;
123
use std::convert::TryInto;

site/src/util.rs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)