Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net committed Dec 7, 2023
1 parent 8c45ff8 commit b65fda0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/circular_queue/cancellation_token.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace ghostl
/// cancellation_token_source is cancelled. Never call this more than once
/// on the same cancellation_token, but get another cancellation token.
/// </summary>
/// <returns>A bool task, that has a value of true if cancellation occured,
/// <returns>A bool task, that has a value of true if cancellation occurred,
/// or false if the cancellation source etc was deleted without cancellation.</returns>
[[nodiscard]] auto cancellation_request() -> ghostl::task<bool>
{
Expand Down
2 changes: 1 addition & 1 deletion src/circular_queue/circular_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class circular_queue
circular_queue& operator=(const circular_queue&) = delete;

/*!
@brief Get the numer of elements the queue can hold at most.
@brief Get the number of elements the queue can hold at most.
*/
size_t capacity() const
{
Expand Down

0 comments on commit b65fda0

Please sign in to comment.