Giter VIP home page Giter VIP logo

rust-quiz's Introduction

rust-quiz's People

Contributors

adotinthevoid avatar boxyuwu avatar hayleydeckers avatar jdonszelmann avatar megagigagon avatar miguelraz avatar noratrieb avatar pietroalbini avatar wafflelapkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rust-quiz's Issues

Get names in order

  • Borrowck 6 should be borrow checker
  • type system 7 should be in the borrow checker category

Make unsafe 1 worse

@Amanieu said that someone suggested also adding an example to unsafe 1 that says (*null,). please give us a GitHub handle to credit Amanieu ๐Ÿ˜Š๐Ÿ‘‰๐Ÿ‘ˆ

Assign difficulties

I think it may be useful to more concretely assign difficulty to questions to help users find the ones most interesting to them.
Maybe "easy"/"hard" labels wouldn't be very great, I would think more about levels, where 1 is the easiest and 3 is the hardest or whatever

auto generate the MD files from the examples?

right now we have to do some (minor) boilerplate every time we add a new quiz entry even though the code and compiler output are already automatically synced from the example to the book. it'd be nice to not have to do any of that somehow and have the explanation for the compiler output be present alongside the example or something?

question idea: type/value amgiguity

In some cases the AST doesn't make clear if a path is a type or a value:

foo::<N>()

Here N could be either. There are some weird fallback rules around this.

question idea: rustdoc re-export:

//! A link to [`Bar`].

mod foo {
    pub struct Bar;
}

pub use foo::*;
/// The docs
pub use foo::Bar;

does the intra-doc-link have the docs?

answer: it depends if you have --document-private-items

Code is too wide for mobile

Screenshot_20240511-195047

Ideally something like 40 characters width in rustfmt would be perfect for mobile. It would look worse on desktop or print though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.