diff --git a/includes/std/sys.pat b/includes/std/sys.pat index cc088f7..80bd805 100644 --- a/includes/std/sys.pat +++ b/includes/std/sys.pat @@ -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) { diff --git a/includes/type/path.pat b/includes/type/path.pat index d91ebe0..cf9ca7a 100644 --- a/includes/type/path.pat +++ b/includes/type/path.pat @@ -34,12 +34,12 @@ namespace auto type { using UnixPath = Path<"/">; /** - A type representing a DOS path using a '\' backslash as delimeter + A type representing a DOS path using a '\\' backslash as delimeter */ using DOSPath = Path<"\\">; - + namespace impl { - + fn format_path_segment(ref auto segment) { return segment.string; };