summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-23 14:17:31 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-23 14:17:31 +0800
commitd5fb66ba18c8684a55e32570c12bcd4ed1bb6d5a (patch)
treeef60c9663ff2f4d055b14569ad5277f643cc668c
parent17b13384d44bb3b3e5ff8845c0ccf49f2751d0db (diff)
downloadmrust-d5fb66ba18c8684a55e32570c12bcd4ed1bb6d5a.tar.gz
MIR Validate - (minor) commenting
-rw-r--r--src/mir/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/check.cpp b/src/mir/check.cpp
index 072bbe4a..3b9f4c64 100644
--- a/src/mir/check.cpp
+++ b/src/mir/check.cpp
@@ -446,7 +446,7 @@ void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path
check_type( ::HIR::TypeRef(::HIR::CoreType::Bool) );
),
(Bytes,
- // TODO: Check result
+ // TODO: Check result (could be either &[u8; N] or &[u8])
),
(StaticString,
check_type( ::HIR::TypeRef::new_borrow(::HIR::BorrowType::Shared, ::HIR::CoreType::Str) );