Skip to content

Make example in docs a little clearer#6

Open
wezm wants to merge 1 commit intotmpfs:mainfrom
wezm:tidy-example
Open

Make example in docs a little clearer#6
wezm wants to merge 1 commit intotmpfs:mainfrom
wezm:tidy-example

Conversation

@wezm
Copy link

@wezm wezm commented Jun 27, 2022

The glob import in the example makes it a little unclear what exactly is being imported. In particular I didn't notice the Result type alias initially. This PR makes the imports explicit. I also ran the example code through rustfmt.

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.

1 participant