Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/str: remove as it only had one trivial use
golang.org/x/tools/cmd/deadcode correctly spotted that internal/str was mostly made up of unreachable APIs. The exception was StringList, only used once in a trivial manner by cue/load tests. The str package was added all the way back in 2018, but at this point, it's clearly not useful anymore. I suspect most of the reason is Go getting generics as well as improvements like the slices package. The code is always in the git history if needed. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I328536db8ef93658c1f5b303a257752bcd1af0b3 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1177664 TryBot-Result: CUEcueckoo <cueckoo@gmail.com> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
- Loading branch information
Showing
3 changed files
with
20 additions
and
236 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.