From d3d108deb856aaac9c2edee63c5a3ffa55d8a764 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 8 Aug 2022 16:11:13 +0200 Subject: [PATCH] chore: Add missing copyright headers --- crates/matrix-sdk/src/client/builder.rs | 15 +++++++++++++++ crates/matrix-sdk/src/client/login_builder.rs | 14 ++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/crates/matrix-sdk/src/client/builder.rs b/crates/matrix-sdk/src/client/builder.rs index 3b9987168..76a27cc50 100644 --- a/crates/matrix-sdk/src/client/builder.rs +++ b/crates/matrix-sdk/src/client/builder.rs @@ -1,3 +1,18 @@ +// Copyright 2022 The Matrix.org Foundation C.I.C. +// Copyright 2022 Kévin Commaille +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; #[cfg(target_arch = "wasm32")] diff --git a/crates/matrix-sdk/src/client/login_builder.rs b/crates/matrix-sdk/src/client/login_builder.rs index 290eafda2..d43114f90 100644 --- a/crates/matrix-sdk/src/client/login_builder.rs +++ b/crates/matrix-sdk/src/client/login_builder.rs @@ -1,3 +1,17 @@ +// Copyright 2022 The Matrix.org Foundation C.I.C. +// Copyright 2022 Kévin Commaille +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #![cfg_attr(not(target_arch = "wasm32"), deny(clippy::future_not_send))] #[cfg(feature = "sso-login")]