[gcc/devel/rust/master] clang-format

Thomas Schwinge tschwinge@gcc.gnu.org
Wed Nov 16 11:49:46 GMT 2022


https://gcc.gnu.org/g:f726b12ca106307d739f1bb483a532a911985441

commit f726b12ca106307d739f1bb483a532a911985441
Author: Raiki Tamura <tamaron1203@gmail.com>
Date:   Wed Nov 9 19:58:31 2022 +0900

    clang-format

Diff:
---
 gcc/rust/util/rust-lang-item.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/rust/util/rust-lang-item.h b/gcc/rust/util/rust-lang-item.h
index a9751218930..1aa5794df4e 100644
--- a/gcc/rust/util/rust-lang-item.h
+++ b/gcc/rust/util/rust-lang-item.h
@@ -227,7 +227,7 @@ public:
       }
     else if (item.compare ("phantom_data") == 0)
       {
-  return ItemType::PHANTOM_DATA;
+	return ItemType::PHANTOM_DATA;
       }
     else if (item.compare ("fn_once") == 0)
       {
@@ -316,7 +316,7 @@ public:
       case CONST_SLICE_PTR:
 	return "const_slice_ptr";
       case PHANTOM_DATA:
-  return "phantom_data";
+	return "phantom_data";
       case FN_ONCE:
 	return "fn_once";
       case FN_ONCE_OUTPUT:


More information about the Gcc-cvs mailing list