Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a public shorten_rust_function_name function #183

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

fornwall
Copy link
Contributor

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Extract the parts that might be generally usable for rust function name shortening from clean_function_name (everything except the handling of the ::{{closure}}::{{closure}}::f suffix) into a public function.

Useful for those handling custom scopes from rust functions.

Related Issues

#182: Clean function and shorten file names only in macros.

Extract the parts that might be generally usable for rust function name
shortening from `clean_function_name` (everything except the handling of
the `::{{closure}}::{{closure}}::f` suffix) into a public function.

Useful for those handling custom scopes from rust functions.
@TimonPost TimonPost removed the request for review from emilk January 17, 2024 10:00
@TimonPost TimonPost merged commit e076333 into main Jan 17, 2024
5 of 6 checks passed
@TimonPost TimonPost deleted the public-shorten-method branch January 17, 2024 10:00
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.

2 participants