Coder Social home page Coder Social logo

02: ambiguous statement about rusttutorial HOT 3 OPEN

adrientetar avatar adrientetar commented on August 10, 2024
02: ambiguous statement

from rusttutorial.

Comments (3)

evansuva avatar evansuva commented on August 10, 2024

Thanks, Adrien!

That's a good point - we'll review it.

The tutorial is using a markdown-like language, but a very simple custom
one that Alex and Wil made for this to handle the code examples well
(but not all the things one can do with pandoc). The sources are in
https://github.com/aml3/RustTutorial/tree/gh-pages/html/pre

Cheers,

--- Dave

On 1/22/14, 3:50 PM, Adrien TΓ©tar wrote:

Any pointer or reference in Rust, be it to an |int| or a complicated
|struct| will be a pointer to a box.

That's partially wrong; a reference (|&|) is just pointing to a chunk of
memory; which if unboxed will be itself unboxed.

So, for example, |&int| is not a pointer to a box.

(Side note: it would be cool to have the text compiled to Markdown
source or something like it; I use pandoc in my project
https://github.com/adridu59/rust-tuts).

β€”
Reply to this email directly or view it on GitHub
#5.

from rusttutorial.

adrientetar avatar adrientetar commented on August 10, 2024

Thanks for the answer!
Also, if I may make a practical suggestion, it would be cool to have gh-pages set as the default GitHub branch (I first started looking at outdated master when I came across the repo).

from rusttutorial.

evansuva avatar evansuva commented on August 10, 2024

That's a good idea. Its set up as the default branch now.

from rusttutorial.

Related Issues (7)

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.