aboutsummaryrefslogtreecommitdiff
path: root/absl/strings/string_view.h
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-10-11 14:51:49 -0700
committerGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-10-11 14:51:49 -0700
commit31adde521b8db8725784ec4c5a4b5b07009eb286 (patch)
treebba76e1800619d56b082d63a20acbe0706125995 /absl/strings/string_view.h
parent0848aecd435389f9600249241467b74ee46f7942 (diff)
parent029795a9b5281379f892fbbe3f9a400d5a33f5cc (diff)
downloadabseil-31adde521b8db8725784ec4c5a4b5b07009eb286.tar.gz
abseil-31adde521b8db8725784ec4c5a4b5b07009eb286.tar.bz2
abseil-31adde521b8db8725784ec4c5a4b5b07009eb286.zip
merging, restoring .ci/abseil-cpp.json
Diffstat (limited to 'absl/strings/string_view.h')
-rw-r--r--absl/strings/string_view.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h
index 951e9cbc..c3acd729 100644
--- a/absl/strings/string_view.h
+++ b/absl/strings/string_view.h
@@ -295,9 +295,8 @@ class string_view {
// string_view::remove_prefix()
//
- // Removes the first `n` characters from the `string_view`, returning a
- // pointer to the new first character. Note that the underlying std::string is not
- // changed, only the view.
+ // Removes the first `n` characters from the `string_view`. Note that the
+ // underlying std::string is not changed, only the view.
void remove_prefix(size_type n) {
assert(n <= length_);
ptr_ += n;