about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-01-27 12:50:52 +0100
committerGitHub <noreply@github.com>2020-01-27 12:50:52 +0100
commit5f9284c95f8431cb9239e9efba956cfc9259aec9 (patch)
tree93e3dfd56efc4854b98209c42ab8b122cf4512f1 /src/libstd/sys
parent9188bab4dbe6a644c2019de25c4c207f02e60a31 (diff)
parent9a78c2b11d50fc1ed60c92eec7cb59ae74516e89 (diff)
downloadrust-5f9284c95f8431cb9239e9efba956cfc9259aec9.tar.gz
rust-5f9284c95f8431cb9239e9efba956cfc9259aec9.zip
Rollup merge of #68562 - hjung4:spell, r=jonas-schievink
Fix spelling errors
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 {