Rust Course for Beginners - Lesson 6 - Loops - Tutorial Rust lang - rustlang

preview_player
Показать описание


Thank you very much for watching! If you liked the video, please consider subscribing to the channel :)

Or follow me on:

This video is part of a series on Rust lang, a wonderful programming language.
Рекомендации по теме
Комментарии
Автор

I think I got the same error Astro on the comment below got.
Whenever I try running the code from around 2:40 I get two erros: "expected `()`, found `i32`" for the "break counter*2;" and "`()` cannot be formatted with the default formatter" for "println!("{}", result);".
I'm running it on vs code with rust-analyzer so no idea what it could be (I'm not really expecting an answer, I just wanted to say the same happened to me).

By the way, thanks a lot for the classes. They're EXTREMELY helpful! By far the best on Youtube.

BoldMold
Автор

Hi, thanks a lot for the tutorials!! I just have one question when initializing an array with the [i32; _] sintax, it gets me an error of expected expression, would you know what that could be? the other ways to declare works fine. Greetings from Brazil.

lucasandrade
Автор

Nice video, thanks.
Noto bene: Iterate "i" come in 'Italia'.

nexpro
Автор

Hey, I have a question. When you wrote "Let result": () the analyzer didn't show you an error and the load allowed you to run it but when I try I can't know what happened? For it to work I must write i32 instead of parentheses. What's really going on? Greets from Spain!!!

Edition: somethings that you do doesn't work in my case. I try to execute that but i can't. What that could be?

strodev
visit shbcf.ru