diff options
author | Nirmal Patel <npate012@gmail.com> | 2021-10-21 19:45:08 -0400 |
---|---|---|
committer | Nirmal Patel <npate012@gmail.com> | 2021-10-21 19:45:08 -0400 |
commit | 4d19ffcd4a6260fc33743ac33e23e3a1e61aeff8 (patch) | |
tree | 459ed1b2791289b497b860e6c60abd3115d3f996 /gcc | |
parent | 8d8ab48b47f778f5acc247adec3e1fa2cc5ca534 (diff) | |
download | gcc-4d19ffcd4a6260fc33743ac33e23e3a1e61aeff8.zip gcc-4d19ffcd4a6260fc33743ac33e23e3a1e61aeff8.tar.gz gcc-4d19ffcd4a6260fc33743ac33e23e3a1e61aeff8.tar.bz2 |
Fixed formatting issues
Signed-off-by: Nirmal Patel <npate012@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/hir/rust-ast-lower-item.h | 2 | ||||
-rw-r--r-- | gcc/rust/hir/tree/rust-hir-item.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/hir/rust-ast-lower-item.h b/gcc/rust/hir/rust-ast-lower-item.h index 11b3c1f..892a7bf 100644 --- a/gcc/rust/hir/rust-ast-lower-item.h +++ b/gcc/rust/hir/rust-ast-lower-item.h @@ -607,7 +607,7 @@ public: auto trait_unsafety = Unsafety::Normal; if (trait.is_unsafe ()) { - trait_unsafety = Unsafety::Unsafe; + trait_unsafety = Unsafety::Unsafe; } HIR::Trait *hir_trait diff --git a/gcc/rust/hir/tree/rust-hir-item.h b/gcc/rust/hir/tree/rust-hir-item.h index 570abc4..28d350e 100644 --- a/gcc/rust/hir/tree/rust-hir-item.h +++ b/gcc/rust/hir/tree/rust-hir-item.h @@ -451,8 +451,8 @@ public: FunctionQualifiers (AsyncConstStatus const_status, Unsafety unsafety, bool has_extern = false, std::string extern_abi = std::string ()) - : const_status (const_status), unsafety (unsafety), - has_extern (has_extern), extern_abi (std::move (extern_abi)) + : const_status (const_status), unsafety (unsafety), has_extern (has_extern), + extern_abi (std::move (extern_abi)) { if (!this->extern_abi.empty ()) { |