Commit a88a243e authored by Kati Paizee's avatar Kati Paizee

Merge branch 'aa-fix-particularly-spelling' into 'master'

Fix particularly spelling

See merge request gitlab-org/gitlab!81782
parents d11a55e7 6d8b7932
...@@ -1157,7 +1157,7 @@ Here's some pseudocode showing an example of a potential TOCTOU bug: ...@@ -1157,7 +1157,7 @@ Here's some pseudocode showing an example of a potential TOCTOU bug:
```ruby ```ruby
def upvote(comment, user) def upvote(comment, user)
# The time between calling .exists? and .create can lead to TOCTOU, # The time between calling .exists? and .create can lead to TOCTOU,
# particulary if .create is a slow method, or runs in a background job # particularly if .create is a slow method, or runs in a background job
if Upvote.exists?(comment: comment, user: user) if Upvote.exists?(comment: comment, user: user)
return return
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment