From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 32FC33858C27; Wed, 8 Jun 2022 10:44:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32FC33858C27 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Fix formatting X-Act-Checkin: gcc X-Git-Author: Yizhe X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: dac1de7fde494296333492db90f8977bc74393e0 X-Git-Newrev: 4b995062b737d0cdf3008f8d84af8526904de3b1 Message-Id: <20220608104416.32FC33858C27@sourceware.org> Date: Wed, 8 Jun 2022 10:44:16 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 10:44:16 -0000 https://gcc.gnu.org/g:4b995062b737d0cdf3008f8d84af8526904de3b1 commit 4b995062b737d0cdf3008f8d84af8526904de3b1 Author: Yizhe Date: Wed Mar 17 09:22:15 2021 +0000 Fix formatting Diff: --- gcc/rust/ast/rust-expr.h | 2 +- gcc/rust/util/rust-make-unique.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index b535f8f36b1..db900966ce6 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -1116,7 +1116,7 @@ public: inner_attrs (other.inner_attrs), locus (other.locus), marked_for_strip (other.marked_for_strip) { - internal_elements = other.internal_elements->clone_array_elems (); + internal_elements = other.internal_elements->clone_array_elems (); rust_assert (internal_elements != nullptr); } diff --git a/gcc/rust/util/rust-make-unique.h b/gcc/rust/util/rust-make-unique.h index 0c4da2fb6c2..4698b7d966f 100644 --- a/gcc/rust/util/rust-make-unique.h +++ b/gcc/rust/util/rust-make-unique.h @@ -7,7 +7,7 @@ namespace Rust { template std::unique_ptr -make_unique (Ts &&...params) +make_unique (Ts &&... params) { return std::unique_ptr (new T (std::forward (params)...)); }