diff options
Diffstat (limited to 'src/librustc/lib/llvm.rs')
| -rw-r--r-- | src/librustc/lib/llvm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lib/llvm.rs b/src/librustc/lib/llvm.rs index 781720277a9..95a2c558836 100644 --- a/src/librustc/lib/llvm.rs +++ b/src/librustc/lib/llvm.rs @@ -1892,7 +1892,7 @@ impl TypeNames { pub fn types_to_str(&self, tys: &[Type]) -> String { let strs: Vec<String> = tys.iter().map(|t| self.type_to_str(*t)).collect(); - format_strbuf!("[{}]", strs.connect(",").to_string()) + format!("[{}]", strs.connect(",").to_string()) } pub fn val_to_str(&self, val: ValueRef) -> String { |
