about summary refs log tree commit diff
path: root/compiler/rustc_target
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
committerklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
commitf43ee8ebf696eec5a8a844629e4f7e910f9f0afd (patch)
treebf829ad19f0402dd8c1148d5df4d6c1edce87923 /compiler/rustc_target
parent62652865b6029b4776a7c03efa13a37b15c9b953 (diff)
downloadrust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.tar.gz
rust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.zip
fix few typos
Diffstat (limited to 'compiler/rustc_target')
-rw-r--r--compiler/rustc_target/src/abi/call/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_target/src/abi/call/mod.rs b/compiler/rustc_target/src/abi/call/mod.rs
index d9d7d467d92..0cf2441d84e 100644
--- a/compiler/rustc_target/src/abi/call/mod.rs
+++ b/compiler/rustc_target/src/abi/call/mod.rs
@@ -73,8 +73,8 @@ mod attr_impl {
 }
 
 /// Sometimes an ABI requires small integers to be extended to a full or partial register. This enum
-/// defines if this extension should be zero-extension or sign-extension when necssary. When it is
-/// not necesary to extend the argument, this enum is ignored.
+/// defines if this extension should be zero-extension or sign-extension when necessary. When it is
+/// not necessary to extend the argument, this enum is ignored.
 #[derive(Copy, Clone, PartialEq, Eq, Debug)]
 pub enum ArgExtension {
     None,