mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Meta+AK: Make clang-format-10 clean
This commit is contained in:
parent
468a29f4a1
commit
8940bc3503
28 changed files with 315 additions and 313 deletions
|
@ -92,10 +92,10 @@ void LexicalPath::canonicalize()
|
|||
|
||||
Optional<size_t> last_dot = StringView(m_basename).find_last_of('.');
|
||||
if (last_dot.has_value()) {
|
||||
m_title = m_basename.substring(0, last_dot.value());
|
||||
m_extension = m_basename.substring(last_dot.value() + 1, m_basename.length() - last_dot.value() - 1);
|
||||
m_title = m_basename.substring(0, last_dot.value());
|
||||
m_extension = m_basename.substring(last_dot.value() + 1, m_basename.length() - last_dot.value() - 1);
|
||||
} else {
|
||||
m_title = m_basename;
|
||||
m_title = m_basename;
|
||||
}
|
||||
|
||||
StringBuilder builder(approximate_canonical_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue