mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Userland: Avoid some now-unneeded explicit conversions to Bytes
This commit is contained in:
parent
e0bddbb65e
commit
c23060e21b
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/trflynn89
Commit: c23060e21b
Pull-request: https://github.com/SerenityOS/serenity/pull/23830
Reviewed-by: https://github.com/shannonbooth ✅
15 changed files with 39 additions and 40 deletions
|
@ -85,7 +85,7 @@ ErrorOr<void> Command::write_lines(Span<ByteString> lines)
|
|||
});
|
||||
|
||||
for (ByteString const& line : lines)
|
||||
TRY(m_stdin->write_until_depleted(ByteString::formatted("{}\n", line).bytes()));
|
||||
TRY(m_stdin->write_until_depleted(ByteString::formatted("{}\n", line)));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue