Re: [TECH TOPIC] Rust for Linux

Miguel Ojeda
2021-07-08T14:36:06Z

On Thu, Jul 8, 2021 at 4:33 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> What if I would ignore that? I.e.
>
> let Some(content) = strong;
> println!("{}", content);
>
> ?

It does not compile :-)

You can play with it here if you want

https://godbolt.org/z/MeqznshPx

> Please forgive my silly questions, I'm a Rust newbie ;-)

No problem at all! It is perfectly understandable to ask these
questions -- from a C perspective, it is indeed quite shocking that
this "cannot happen".

Cheers,
Miguel