mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 16:40:26 +02:00
Change params to Span<Object>
This commit is contained in:
parent
515ac4c590
commit
f61cb91255
1 changed files with 2 additions and 2 deletions
|
@ -88,12 +88,12 @@ namespace System.IO
|
||||||
return Write("\n");
|
return Write("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
public Result<void> Write(StringView fmt, params Object[] args)
|
public Result<void> Write(StringView fmt, params Span<Object> args)
|
||||||
{
|
{
|
||||||
return Write(scope String()..AppendF(fmt, params args));
|
return Write(scope String()..AppendF(fmt, params args));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Result<void> WriteLine(StringView fmt, params Object[] args)
|
public Result<void> WriteLine(StringView fmt, params Span<Object> args)
|
||||||
{
|
{
|
||||||
Try!(Write(scope String()..AppendF(fmt, params args)));
|
Try!(Write(scope String()..AppendF(fmt, params args)));
|
||||||
return Write("\n");
|
return Write("\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue