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

Create libabc-rs (and possibly xyz program) as a sample library #11286

Closed
uzytkownik opened this issue Jan 3, 2014 · 2 comments
Closed

Create libabc-rs (and possibly xyz program) as a sample library #11286

uzytkownik opened this issue Jan 3, 2014 · 2 comments

Comments

@uzytkownik
Copy link

It might be my bias but one of the problems I struggled mostly so far while I am trying to learn ruby and write library is the little details how to write library. The issues so far were for example:

  • What's the proper structure (should lib.rs be in top directory or src//?)
  • Where test.rs should be (main directory? src//)?
  • How to build documentation?
  • What are the policies of annoucement of new libraries?

While some documentation exists it tend to be widespread and sometimes outdated (it might be on third party sites and be say about rust 0.6).

In Linux world there is libabc project which includes a basic sample projects showing how things are supposed to be done. While many details are not applicable to rust it'd be nice to have something like that kept in sync with rust.

@sanxiyn
Copy link
Member

sanxiyn commented Jun 2, 2014

@steveklabnik
Copy link
Member

We do this in the book now, and in the cargo guide.

flip1995 pushed a commit to flip1995/rust that referenced this issue Aug 11, 2023
Suppress `question_mark` warning if `question_mark_used` is not allowed

Closes rust-lang#11283

changelog: [`question_mark`]: Don't lint if `question_mark_used` is not allowed
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

No branches or pull requests

3 participants