-
Notifications
You must be signed in to change notification settings - Fork 2.2k
test(static-file): StaticFileSegment string and serde roundtrips #19561
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
Conversation
fa42d49 to
d6087a1
Compare
d6087a1 to
3603857
Compare
mattsse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, 1 q re comment
| // `strum` doesn't generate a comment for `into_str` when using `IntoStaticStr` derive | ||
| // macro, so we need to manually implement it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does generate a comment mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a doc comment, so the clippy is reporting a warning
afaik there's no way to silence missing_docs just for one method, and i don't want to silence it for the whole file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahhh
StaticFileSegmentstring and serde roundtrips that are used in filenames and segment headersstrum(serialize = "...")attributes