Skip to content

Conversation

perillo
Copy link
Contributor

@perillo perillo commented Aug 24, 2025

  • Remove dead contants.

  • Remove the unused escapeHtml function.

  • Remove the writeEscapedLines function, since line numbers where removed.

  • Replace anytype with *Io.Writer when writing to a file, making the code more readable.

  • Remove the escape parameter from the printShell function, since in docgen.zig it is always true.

  • Reorganize imports.

- Remove dead contants.

- Remove the unused escapeHtml function.

- Remove the writeEscapedLines function, since line numbers where
  removed.

- Replace anytype with *Io.Writer when writing to a file, making the
  code more readable.

- Remove the escape parameter from the printShell function, since in
  docgen.zig it is always true.

- Reorganize imports.
@perillo
Copy link
Contributor Author

perillo commented Aug 24, 2025

I missed removing the unused escapeHtml function.
I missed removing the in function.

Probably I should remove the file.deprecatedReader() and use &in_file_reader.interface.readAlloc instead.

@perillo
Copy link
Contributor Author

perillo commented Aug 25, 2025

I missed the unused in function.

Additionally, in the main function, the use of deprecatedReader should be replace with the Io API

@perillo
Copy link
Contributor Author

perillo commented Aug 26, 2025

I missed the unused in function.

Additionally, in the main function, the use of deprecatedReader should be replaced with Io.Reader.

@perillo
Copy link
Contributor Author

perillo commented Aug 29, 2025

Closed due to #25036.

I will create a new PR for removing the dead code.

@perillo perillo closed this Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant