diff options
-rw-r--r-- | lld/include/lld/Core/Error.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/include/lld/Core/Error.h b/lld/include/lld/Core/Error.h index c18fe96d268..5e12a0002ef 100644 --- a/lld/include/lld/Core/Error.h +++ b/lld/include/lld/Core/Error.h @@ -32,8 +32,8 @@ inline std::error_code make_error_code(YamlReaderError e) { } /// Creates an error_code object that has associated with it an arbitrary -/// error messsage. The value() of the error_code will always be non-zero -/// but its value is meaningless. The messsage() will be (a copy of) the +/// error message. The value() of the error_code will always be non-zero +/// but its value is meaningless. The message() will be (a copy of) the /// supplied error string. /// Note: Once ErrorOr<> is updated to work with errors other than error_code, /// this can be updated to return some other kind of error. |