mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes
This is basically just for consistency, it's quite strange to see multiple AK container types next to each other, some with and some without the namespace prefix - we're 'using AK::Foo;' a lot and should leverage that. :^)
This commit is contained in:
parent
be9df404fd
commit
e265054c12
73 changed files with 111 additions and 110 deletions
|
@ -406,14 +406,14 @@ static void print(JS::Value value)
|
|||
outln();
|
||||
}
|
||||
|
||||
static bool file_has_shebang(AK::ByteBuffer file_contents)
|
||||
static bool file_has_shebang(ByteBuffer file_contents)
|
||||
{
|
||||
if (file_contents.size() >= 2 && file_contents[0] == '#' && file_contents[1] == '!')
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
static StringView strip_shebang(AK::ByteBuffer file_contents)
|
||||
static StringView strip_shebang(ByteBuffer file_contents)
|
||||
{
|
||||
size_t i = 0;
|
||||
for (i = 2; i < file_contents.size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue