Skip to content

Use optional types for missing fields#8

Closed
kalouantonis wants to merge 1 commit into
ebassi:masterfrom
channel-music:feature/option
Closed

Use optional types for missing fields#8
kalouantonis wants to merge 1 commit into
ebassi:masterfrom
channel-music:feature/option

Conversation

@kalouantonis

Copy link
Copy Markdown
Contributor

Instead of returning an empty string, None is returned instead.

This is more inline with what is considered idiomatic rust.

@kalouantonis kalouantonis force-pushed the feature/option branch 2 times, most recently from e4f8347 to 8832677 Compare March 26, 2018 17:11
Instead of returning an empty string, None is returned instead.
@cdown

cdown commented Aug 27, 2018

Copy link
Copy Markdown
Collaborator

Thanks! There are now tests, so I modified the tests to conform and merged as 1e7f279.

@cdown cdown closed this Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants