Skip to content

Commit

Permalink
PR #1720: Fix spelling mistake: occurrance -> occurrence
Browse files Browse the repository at this point in the history
Imported from GitHub PR #1720

Merge a72c4bc into 0598e58

Merging this change closes #1720

COPYBARA_INTEGRATE_REVIEW=#1720 from eltociear:patch-1 a72c4bc
PiperOrigin-RevId: 653737423
Change-Id: I5638538d1b008942feba6dc6fc98dcdbf53653ef
  • Loading branch information
eltociear authored and copybara-github committed Jul 18, 2024
1 parent f754f2b commit 3cb4988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/strings/cord.h
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ class Cord {

// Cord::Find()
//
// Returns an iterator to the first occurrance of the substring `needle`.
// Returns an iterator to the first occurrence of the substring `needle`.
//
// If the substring `needle` does not occur, `Cord::char_end()` is returned.
CharIterator Find(absl::string_view needle) const;
Expand Down

0 comments on commit 3cb4988

Please sign in to comment.