mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-30 13:05:23 -05:00
includes/std: Add some fixes from the WerWolv/Documentation repo (#262)
* Escape backslash in DOSPath docs * Spelling correction for std\sys.pat --------- Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ namespace auto std {
|
||||
|
||||
/**
|
||||
Asserts that a given value is true. If it's not, abort evaluation and print the given message to the console
|
||||
@param conditoon The condition that is required to be true
|
||||
@param condition The condition that is required to be true
|
||||
@param message The message to print in case the assertion doesn't hold
|
||||
*/
|
||||
fn assert(bool condition, str message) {
|
||||
@@ -21,7 +21,7 @@ namespace auto std {
|
||||
|
||||
/**
|
||||
Asserts that a given value is true. If it's not, print the given message to the console as a warning
|
||||
@param conditoon The condition that is required to be true
|
||||
@param condition The condition that is required to be true
|
||||
@param message The message to print in case the assertion doesn't hold
|
||||
*/
|
||||
fn assert_warn(bool condition, str message) {
|
||||
|
||||
Reference in New Issue
Block a user