about summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-07 10:10:27 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-07 10:10:27 +0100
commitf3468d03a23bda76af8e65956719487cb460f16a (patch)
treef8636c94d4f9e13b34240e0928a1ba8c8d0b718d /src/comp/lib
parent4039c04acb2353f5d5867bc6d07be2a2ff8e60b0 (diff)
downloadrust-f3468d03a23bda76af8e65956719487cb460f16a.tar.gz
rust-f3468d03a23bda76af8e65956719487cb460f16a.zip
Fix a long line
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 5baad8466f9..b189f2177c0 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -1060,7 +1060,7 @@ type object_file = {llof: ObjectFileRef, dtor: @object_file_res};
 fn mk_object_file(llmb: MemoryBufferRef) -> option::t<object_file> {
     let llof = llvm::LLVMCreateObjectFile(llmb);
     if llof as int == 0 { ret option::none::<object_file>; }
-    ret option::some::<object_file>({llof: llof, dtor: @object_file_res(llof)});
+    ret option::some({llof: llof, dtor: @object_file_res(llof)});
 }
 
 /* Memory-managed interface to section iterators. */