-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return boxed slice from query_line_info() helper
Return a boxed slice from the query_line_info() helper function, to make it clear that the result is not meant to be resized and to cut down on unnecessary information being stored (the vector's capacity). Signed-off-by: Daniel Müller <deso@posteo.net>
- Loading branch information
1 parent
2009a1d
commit 05fd838
Showing
1 changed file
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters