Remove redundant [..]s
This commit is contained in:
parent
e6b883c74f
commit
15de4cbc4b
45 changed files with 123 additions and 127 deletions
|
@ -477,7 +477,7 @@ pub(crate) fn inline_asm_call(
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
debug!("Asm Output Type: {:?}", output);
|
||||
let fty = bx.cx.type_func(&argtys[..], output);
|
||||
let fty = bx.cx.type_func(&argtys, output);
|
||||
unsafe {
|
||||
// Ask LLVM to verify that the constraints are well-formed.
|
||||
let constraints_ok = llvm::LLVMRustInlineAsmVerify(fty, cons.as_ptr().cast(), cons.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue