Skip to content

Commit 35a3c60

Browse files
committed
for MPP-4172: add MPL license header to relay files
1 parent 99c7e24 commit 35a3c60

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

components/relay/src/error.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
pub type Result<T> = std::result::Result<T, Error>;
26

37
#[derive(Debug, thiserror::Error)]

components/relay/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
mod error;
26

37
pub use error::{Error, Result};

examples/relay-cli/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
use clap::{Parser, Subcommand};
26
use std::io::{self, Write};
37

0 commit comments

Comments
 (0)