about summary refs log tree commit diff
path: root/absl/status
diff options
context:
space:
mode:
Diffstat (limited to 'absl/status')
-rw-r--r--absl/status/status.cc2
-rw-r--r--absl/status/status.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/absl/status/status.cc b/absl/status/status.cc
index 52ecc0efda98..6d57a6be8db3 100644
--- a/absl/status/status.cc
+++ b/absl/status/status.cc
@@ -177,7 +177,7 @@ void Status::ForEachPayload(
       visitor(elem.type_url, elem.payload);
 #else
       // In debug mode invalidate the type url to prevent users from relying on
-      // this std::string lifetime.
+      // this string lifetime.
 
       // NOLINTNEXTLINE intentional extra conversion to force temporary.
       visitor(std::string(elem.type_url), elem.payload);
diff --git a/absl/status/status.h b/absl/status/status.h
index 9706d4bace94..67ff988f85f9 100644
--- a/absl/status/status.h
+++ b/absl/status/status.h
@@ -122,7 +122,7 @@ class ABSL_MUST_USE_RESULT Status final {
 
   // Returns the error message.  Note: prefer ToString() for debug logging.
   // This message rarely describes the error code.  It is not unusual for the
-  // error message to be the empty std::string.
+  // error message to be the empty string.
   absl::string_view message() const;
 
   friend bool operator==(const Status&, const Status&);
@@ -231,7 +231,7 @@ class ABSL_MUST_USE_RESULT Status final {
   static uintptr_t PointerToRep(status_internal::StatusRep* r);
   static status_internal::StatusRep* RepToPointer(uintptr_t r);
 
-  // Returns std::string for non-ok Status.
+  // Returns string for non-ok Status.
   std::string ToStringSlow() const;
 
   // Status supports two different representations.