aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYizhe <yizhe@pku.edu.cn>2021-03-17 09:22:15 +0000
committerYizhePKU <yizhe@pku.edu.cn>2021-04-02 17:11:12 +0000
commit4b995062b737d0cdf3008f8d84af8526904de3b1 (patch)
tree20e422644b675bff8c6858e32ed1e20a4d1ffe1e /gcc
parentdac1de7fde494296333492db90f8977bc74393e0 (diff)
downloadgcc-4b995062b737d0cdf3008f8d84af8526904de3b1.zip
gcc-4b995062b737d0cdf3008f8d84af8526904de3b1.tar.gz
gcc-4b995062b737d0cdf3008f8d84af8526904de3b1.tar.bz2
Fix formatting
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-expr.h2
-rw-r--r--gcc/rust/util/rust-make-unique.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index b535f8f..db90096 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 0c4da2f..4698b7d 100644
--- a/gcc/rust/util/rust-make-unique.h
+++ b/gcc/rust/util/rust-make-unique.h
@@ -7,7 +7,7 @@ namespace Rust {
template <typename T, typename... Ts>
std::unique_ptr<T>
-make_unique (Ts &&...params)
+make_unique (Ts &&... params)
{
return std::unique_ptr<T> (new T (std::forward<Ts> (params)...));
}