summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
commit374a42466ee4e9d0a25ef65f73b84e3c870d6f79 (patch)
tree7c9e1575cdbf8b011d56f65f16a8dcc2431bc66f /src/hir/type.hpp
parent9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (diff)
downloadmrust-374a42466ee4e9d0a25ef65f73b84e3c870d6f79.tar.gz
Fix use of hard tabs
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index a832e8e9..cc0894d2 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -178,8 +178,8 @@ public:
Data m_data;
TypeRef():
- m_data(Data::make_Infer({ ~0u, InferClass::None }))
- {}
+ m_data(Data::make_Infer({ ~0u, InferClass::None }))
+ {}
TypeRef(TypeRef&& ) = default;
TypeRef(const TypeRef& ) = delete;
TypeRef& operator=(TypeRef&& ) = default;
@@ -212,9 +212,9 @@ public:
static TypeRef new_diverge() {
return TypeRef(Data::make_Diverge({}));
}
- static TypeRef new_infer(unsigned int idx = ~0u, InferClass ty_class = InferClass::None) {
- return TypeRef(Data::make_Infer({idx, ty_class}));
- }
+ static TypeRef new_infer(unsigned int idx = ~0u, InferClass ty_class = InferClass::None) {
+ return TypeRef(Data::make_Infer({idx, ty_class}));
+ }
static TypeRef new_borrow(BorrowType bt, TypeRef inner) {
return TypeRef(Data::make_Borrow({bt, box$(mv$(inner))}));
}