mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Add parameterless WriteLine to StreamWriter class
This commit is contained in:
parent
4acc2cca67
commit
e146475a39
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,11 @@ namespace System.IO
|
||||||
return .Ok;
|
return .Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Result<void> WriteLine()
|
||||||
|
{
|
||||||
|
return Write("\n");
|
||||||
|
}
|
||||||
|
|
||||||
public Result<void> WriteLine(StringView str)
|
public Result<void> WriteLine(StringView str)
|
||||||
{
|
{
|
||||||
Try!(Write(str));
|
Try!(Write(str));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue