diff options
Diffstat (limited to 'src/librustc_codegen_llvm/back/profiling.rs')
| -rw-r--r-- | src/librustc_codegen_llvm/back/profiling.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/librustc_codegen_llvm/back/profiling.rs b/src/librustc_codegen_llvm/back/profiling.rs index d56ddac699b..2741f7d848e 100644 --- a/src/librustc_codegen_llvm/back/profiling.rs +++ b/src/librustc_codegen_llvm/back/profiling.rs @@ -9,8 +9,8 @@ fn llvm_args_to_string_id(profiler: &SelfProfiler, pass_name: &str, ir_name: &st let mut components = vec![StringComponent::Ref(pass_name)]; // handle that LazyCallGraph::SCC is a comma separated list within parentheses let parentheses: &[_] = &['(', ')']; - let trimed = ir_name.trim_matches(parentheses); - for part in trimed.split(", ") { + let trimmed = ir_name.trim_matches(parentheses); + for part in trimmed.split(", ") { let demangled_ir_name = rustc_demangle::demangle(part).to_string(); let ir_name = profiler.get_or_alloc_cached_string(demangled_ir_name); components.push(StringComponent::Value(SEPARATOR_BYTE)); | 
