Skip to content

Commit

Permalink
Fix spelling of superseded
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Sep 16, 2023
1 parent 5f6c2be commit 22a7d63
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/usage/std.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ globals:
- type: table
- type: number
deprecated:
message: "`table.getn` has been superceded by #."
message: "`table.getn` has been superseded by #."
replace:
- "#%1"
```
Expand Down
2 changes: 1 addition & 1 deletion selene-lib/default_std/lua51.yml
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ globals:
- type: table
- type: number
deprecated:
message: "`table.getn` has been superceded by #."
message: "`table.getn` has been superseded by #."
replace:
- "#%1"
must_use: true
Expand Down
4 changes: 2 additions & 2 deletions selene-lib/default_std/roblox_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ structs:
method: true
connect:
deprecated:
message: "lowercase methods have been superceded by uppercase ones"
message: "lowercase methods have been superseded by uppercase ones"
replace:
- "Connect(%1)"
args:
Expand All @@ -626,7 +626,7 @@ structs:
method: true
wait:
deprecated:
message: "lowercase methods have been superceded by uppercase ones"
message: "lowercase methods have been superseded by uppercase ones"
replace:
- "Wait(%1)"
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ error[deprecated]: standard library function `table.getn` is deprecated
2 │ print(table.getn(x))
│ ^^^^^^^^^^^^^
= `table.getn` has been superceded by #.
= `table.getn` has been superseded by #.
= try: #x

error[deprecated]: standard library function `table.foreach` is deprecated
Expand Down

0 comments on commit 22a7d63

Please sign in to comment.