From 6eccce2cc88bccb8898dac18d590ae71dae82235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=40=C3=9Fd=E2=82=AC=C5=82w=40=C4=A7=40=C3=9F?= <awh6al@yandex.com> Date: Thu, 2 Apr 2020 20:30:46 +0100 Subject: [PATCH 1/2] fix type in operands section --- src/doc/unstable-book/src/library-features/llvm-asm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/unstable-book/src/library-features/llvm-asm.md b/src/doc/unstable-book/src/library-features/llvm-asm.md index e07f716e56718..8d4b288e50be8 100644 --- a/src/doc/unstable-book/src/library-features/llvm-asm.md +++ b/src/doc/unstable-book/src/library-features/llvm-asm.md @@ -86,7 +86,7 @@ llvm_asm!("xor %eax, %eax" ::: "eax"); Input and output operands follow the same format: `: "constraints1"(expr1), "constraints2"(expr2), ..."`. Output operand -expressions must be mutable lvalues, or not yet assigned: +expressions must be mutable values, or not yet assigned: ```rust # #![feature(llvm_asm)] From 56918e52d18cc37526c642493cc74835e62fa65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=40=C3=9Fd=E2=82=AC=C5=82w=40=C4=A7=40=C3=9F?= <awh6al@yandex.com> Date: Thu, 2 Apr 2020 22:20:43 +0100 Subject: [PATCH 2/2] remove confusing about lvalues term --- src/doc/unstable-book/src/library-features/llvm-asm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/unstable-book/src/library-features/llvm-asm.md b/src/doc/unstable-book/src/library-features/llvm-asm.md index 8d4b288e50be8..da01d9228f14e 100644 --- a/src/doc/unstable-book/src/library-features/llvm-asm.md +++ b/src/doc/unstable-book/src/library-features/llvm-asm.md @@ -86,7 +86,7 @@ llvm_asm!("xor %eax, %eax" ::: "eax"); Input and output operands follow the same format: `: "constraints1"(expr1), "constraints2"(expr2), ..."`. Output operand -expressions must be mutable values, or not yet assigned: +expressions must be mutable place, or not yet assigned: ```rust # #![feature(llvm_asm)]