about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorcomet <hjung524@gmail.com>2020-01-26 22:52:13 -0600
committercomet <hjung524@gmail.com>2020-01-26 22:52:13 -0600
commit9a78c2b11d50fc1ed60c92eec7cb59ae74516e89 (patch)
tree5550ab96ce8c15169c3e875722258b21e19b2850 /src/libstd/sys
parentc3681d62ee4bb849e87a2ec5d663afc34ac05d85 (diff)
downloadrust-9a78c2b11d50fc1ed60c92eec7cb59ae74516e89.tar.gz
rust-9a78c2b11d50fc1ed60c92eec7cb59ae74516e89.zip
update
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/sgx/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/sgx/os.rs b/src/libstd/sys/sgx/os.rs
index 6ed7a2f2044..56fc84b4a3f 100644
--- a/src/libstd/sys/sgx/os.rs
+++ b/src/libstd/sys/sgx/os.rs
@@ -19,7 +19,7 @@ pub fn errno() -> i32 {
 
 pub fn error_string(errno: i32) -> String {
     if errno == RESULT_SUCCESS {
-        "operation succesful".into()
+        "operation successful".into()
     } else if ((Error::UserRangeStart as _)..=(Error::UserRangeEnd as _)).contains(&errno) {
         format!("user-specified error {:08x}", errno)
     } else {