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

ref(chunks): Make render_detail take Option<&str> #2317

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

szokeasaurusrex
Copy link
Member

Previously, this function took as its first argument an &Option<String>. Option<&str> is typically preferred over this. This change also allows us to simplify the logic for computing the detail string.

src/utils/chunks/upload.rs Outdated Show resolved Hide resolved
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/proguard-upload-11 branch from fafb281 to 3a8b380 Compare December 17, 2024 20:47
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/proguard-upload-12 branch from 3c8f73c to 0c48e66 Compare December 17, 2024 20:48
Base automatically changed from szokeasaurusrex/proguard-upload-11 to master December 18, 2024 13:22
Previously, this function took as its first argument an `&Option<String>`. `Option<&str>` is typically preferred over this. This change also allows us to simplify the logic for computing the detail string.

Co-authored-by: Sebastian Zivota <[email protected]>
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/proguard-upload-12 branch from e6f01fa to 27c7296 Compare December 18, 2024 13:25
@szokeasaurusrex szokeasaurusrex merged commit 27c7296 into master Dec 18, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/proguard-upload-12 branch December 18, 2024 13:38
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