Minor fix typo (#11323)

This commit is contained in:
Penghao Cen 2017-07-07 22:56:40 +08:00 committed by Shanqing Cai
parent 37d00efb0a
commit d0f53f77fb
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ class ArraySlice {
void pop_front() { remove_prefix(1); } void pop_front() { remove_prefix(1); }
// These relational operators have the same semantics as the // These relational operators have the same semantics as the
// std::vector<T> relational operators: they do deep (elementwise) // std::vector<T> relational operators: they do deep (element-wise)
// comparisons. Array slices are equal iff their size is the same // comparisons. Array slices are equal iff their size is the same
// and all their elements are equal. // and all their elements are equal.
bool operator==(ArraySlice<T> other) const { return impl_ == other.impl_; } bool operator==(ArraySlice<T> other) const { return impl_ == other.impl_; }

View File

@ -141,7 +141,7 @@ message DeregisterGraphResponse {
message CleanupAllRequest { message CleanupAllRequest {
// A list of container names. // A list of container names.
// //
// If 'container' is not empty, releases resoures in the given // If 'container' is not empty, releases resources in the given
// containers in all devices. // containers in all devices.
// //
// If 'container' is empty, releases resources in the default // If 'container' is empty, releases resources in the default