Skip to content

Commit

Permalink
Improve docstring, use "deprecated" keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored and SupunS committed Oct 30, 2023
1 parent 860f296 commit 81309d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/stdlib/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func NewRevertibleRandomFunction(generator RandomGenerator) StandardLibraryValue
// `unsafeRandom` related constants and functions will be deleted
// when the function is deprecated
const unsafeRandomFunctionDocString = `
Warning: this function will be deprecated, use revertibleRandom function instead.
Deprecated: Use revertibleRandom instead.
Returns a pseudo-random number.
Expand Down

0 comments on commit 81309d4

Please sign in to comment.