Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tlm365 committed Jan 8, 2025
1 parent f00aebb commit 92e74a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/functions/src/unicode/reverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ impl ScalarUDFImpl for ReverseFunc {
}
}

/// Reverses the order of the characters in the string.
/// reverse('abcde') = 'edcba'
/// Reverses the order of the characters in the string `reverse('abcde') = 'edcba'`.
/// The implementation uses UTF-8 code points as characters
pub fn reverse<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef> {
if args[0].data_type() == &Utf8View {
Expand Down

0 comments on commit 92e74a5

Please sign in to comment.