Skip to content

fix(client): remove unneeded pub(in crate::r#mod) from Client::new #40

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

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

Cogitri
Copy link
Collaborator

@Cogitri Cogitri commented Jul 21, 2019

We don't actually need this function to be public and it crashes rustc when
compiling docs

fixes #36

We don't actually need this function to be public and it crashes rustc when
compiling docs

fixes xi-frontend#36
@little-dude
Copy link
Collaborator

What is this syntax doing anyway? Looks like something that came with the 2018 edition?

@little-dude little-dude self-requested a review July 21, 2019 13:20
@Cogitri
Copy link
Collaborator Author

Cogitri commented Jul 21, 2019

See https://doc.rust-lang.org/reference/visibility-and-privacy.html. Basically make that function only visible in crate::mod (with r# because it's a raw identifier).

@Cogitri Cogitri merged commit 2c3a7a7 into xi-frontend:master Jul 23, 2019
@Cogitri
Copy link
Collaborator Author

Cogitri commented Jul 23, 2019

Could we maybe make a new release? :)

@little-dude
Copy link
Collaborator

little-dude commented Jul 23, 2019

Sure. By the way, would you mind being a co-owner on crates.io? I usually work on my projects by bursts when I have a long period of free time and I'm not very responsive in between, so having a co-owner may be nice.

@Cogitri
Copy link
Collaborator Author

Cogitri commented Jul 23, 2019

Sure, being a co-owner would be great! Thanks for your efforts :)

@little-dude
Copy link
Collaborator

Just uploaded 0.0.8 and sent you an invite.

@Cogitri
Copy link
Collaborator Author

Cogitri commented Jul 25, 2019

Thanks! :)

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.

Compiler panics on 'cargo doc'
2 participants