[fix](doc) use trim (not trim_in) on the zh 2.1 TRIM page#3741
Merged
Conversation
The page is titled TRIM, but its syntax and examples called `TRIM_IN` / `trim_in` — a different function. Rename to `TRIM` / `trim` to match the page title and the English 2.1 page (which uses `trim` with the same examples). Reported in apache#2522. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Chinese 2.1
TRIMpage is titled TRIM, but its syntax and examples usedTRIM_IN/trim_in— a different function. Renamed toTRIM/trimto match the page title and the English 2.1 page (which usestrimwith the same examples/result).(Scope kept minimal: only the function name is corrected. The example result and description match the English 2.1 page and are left as-is.)
Reported in #2522.
Test plan
trim_inremains; syntax + examples now useTRIM/trim, matching the EN 2.1 page.Closes #2522