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

Starting Guide Copy Code broken #811

Open
KraftRicardo opened this issue Sep 6, 2024 · 0 comments
Open

Starting Guide Copy Code broken #811

KraftRicardo opened this issue Sep 6, 2024 · 0 comments

Comments

@KraftRicardo
Copy link

Just started reading your guide and I noticed that clicking the copy code button gives different text compared to what is actually shown. I have not tested every box, but in the first chapter alone at least 3 of the code boxes are "broken".

Screenshot from 2024-09-06 13-37-37

When i click the copy button I get this text:

#![allow(unused)]
fn main() {
#[inline]
fn fibonacci(n: u64) -> u64 {
    match n {
        0 => 1,
        1 => 1,
        n => fibonacci(n-1) + fibonacci(n-2),
    }
}
}
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

1 participant