Linting Rust Code With Clippy CLI Rules 🤯🦀 Rust Programming Tutorial for Developers

Ғылым және технология

Clippy is a command-line tool that's included in the Rust toolchain installation. Clippy is installed with the Rust toolchain, using "rustup", unless you've installed the "minimal" toolchain. You typically run clippy as a sub-command of the "cargo" CLI tool, in order to run linting rules against your Rust project. There are hundreds of rules in Clippy, and they're searchable on the Clippy website, linked below. These linting rules help you to write more robust and performant Rust code, and learn more about the Rust programming language! 🦀
🤯 Rust Programming Playlist 🦀 • Rust Programming Tutor...
📖 Clippy Documentation 📦➡️ doc.rust-lang.org/clippy/
📖 Clippy Linting Rules Reference 📦➡️rust-lang.github.io/rust-clip...
Visual Studio Code ➡️ code.visualstudio.com
Rust Website ➡️ rust-lang.org
Rustup Installer ➡️ rustup.rs
Rust Docs ➡️ doc.rust-lang.org/book
Please follow me on these other social channels!
➡️ trevorsullivan.net
➡️ github.com/pcgeek86
➡️ / pcgeek86
➡️ / trevorsullivan
➡️ / trevorsoftware
➡️ tiktok.com/pcgeek86
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
#rustlang #rust #rustdev #opensource #software #linux #devops #programming #rusty #dev #coding #codinglife #code #coder #ubuntu #ubuntulinux #appdev #developer

Пікірлер: 10

  • @TrevorSullivan
    @TrevorSullivan9 ай бұрын

    Check out some of these awesome components to upgrade your digital life! Thanks for helping support this channel! 🖥 AMD Ryzen 9 7900x 12-core CPU amzn.to/3EKdkSY 🖥 ASUS TUF Gaming B650-PLUS WiFi Socket AM5 (LGA 1718) Ryzen 7000 ATX Gaming Motherboard amzn.to/460IGAE 🖥 Corsair Vengeance 64GB (2x32GB) DDR5 memory amzn.to/3EMZhw0 🖥 Gigabyte GeForce RTX 4070 12GB Windforce amzn.to/453pIbr 🖥 Samsung 970 EVO Plus 1TB NVMe SSD amzn.to/3PNke0f 🖥 Thermaltake Smart 700W ATX PSU amzn.to/3rkXuuT Storage for cameras & embedded devices 💽 TEAMGROUP A2 Pro Plus Card 512GB Micro SDXC amzn.to/3PLd77l The drone I use ➡ DJI Mini 3 Pro 4k60 Drone amzn.to/3PLd77l My studio video camera ➡ Panasonic Lumix G85 4k amzn.to/3sXoDV7

  • @aspiring_millionaire
    @aspiring_millionaire4 ай бұрын

    Wow this is soooooooo crystal clear in terms of explanation! I am enjoying it quite a bit, thanks Trevor :)

  • @123seves
    @123seves7 ай бұрын

    You definitely deserve more views. Keep up the good work. You are a God tier presenter, with a great emphasis on articulation

  • @TrevorSullivan

    @TrevorSullivan

    7 ай бұрын

    That's very kind of you to say. Thank you! My only objective is to use my God-given skills to help make other people's lives better and give all the glory to Him. I'm very happy to hear that you are benefiting from this video series! Rust on! 🦀🦀

  • @codingwithmat
    @codingwithmat9 ай бұрын

    Nice video dude! Knew about clippy but it's nice to see someone clearly explaining how to use it :) Best of luck to your channel!

  • @aspiring_millionaire
    @aspiring_millionaire4 ай бұрын

    I'd want to give some feedback on this video, there are some instances where you basically make cuts and show the end results, like typing repeated things or speeding it up in the code which might cut the overall length of the video to some degree This content creator already does that in most of his rust lang tutorials: www.youtube.com/@codetothemoon

  • @michaeldanielmelissen4788
    @michaeldanielmelissen47883 ай бұрын

    Yes.

  • @pipi_delina
    @pipi_delina9 ай бұрын

    Oliver.. Why are rust binaries so huge

  • @TrevorSullivan

    @TrevorSullivan

    9 ай бұрын

    You probably need to compile in release mode. Use the --release parameter with "cargo build". There are other compiler optimizations that you can configure in Cargo.toml.

  • @elliotalderson9517
    @elliotalderson95174 ай бұрын

    imagine use vs code, i use NeoVim BTW

Келесі