Switch to gender neutral terms

This commit is contained in:
inclusive-coding-bot 2022-03-30 18:57:45 -04:00
parent 2c31eddf34
commit 4057c0e360
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Prism.languages.nim = {
'operator': { 'operator': {
// Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .) // Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .)
// but allow the slice operator .. to take precedence over them // but allow the slice operator .. to take precedence over them
// One can define his own operators in Nim so all combination of operators might be an operator. // One can define theirs own operators in Nim so all combination of operators might be an operator.
pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m, pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m,
lookbehind: true lookbehind: true
}, },

View File

@ -49,7 +49,7 @@ public class Person {
} }
public String getGender() { public String getGender() {
return gender == 0 ? "man" : "woman"; return gender == 0 ? "person" : "person";
} }
public void work() { public void work() {