Userland: Avoid some now-unneeded explicit conversions to Bytes

This commit is contained in:
Timothy Flynn 2024-04-03 21:44:40 -04:00 committed by Andreas Kling
commit c23060e21b
Notes: sideshowbarker 2024-07-17 01:51:00 +09:00
15 changed files with 39 additions and 40 deletions

View file

@ -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 {};
}