mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
fix(string): remove allocator argument on temp_ascii_to_lower
This commit is contained in:
committed by
Christoffer Lerno
parent
5918d5120f
commit
c9b9de2838
@@ -540,7 +540,7 @@ fn String String.new_ascii_to_lower(s, Allocator allocator = allocator::heap())
|
||||
return copy;
|
||||
}
|
||||
|
||||
fn String String.temp_ascii_to_lower(s, Allocator allocator = allocator::heap())
|
||||
fn String String.temp_ascii_to_lower(s)
|
||||
{
|
||||
return s.new_ascii_to_lower(allocator::temp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user