AndreasDavour · @AndreasDavour
19 followers · 207 posts · Server dice.camp

So weeks later I finally gets around to debug and fix that quick utility I wrote on a whim. I don't need no borrowchecker to fight. I can do well enough with my own logic errors!

#rustlang #hacking #borrowchecker

Last updated 1 year ago

chfkch :nixos: :rust: · @chfkch
109 followers · 1597 posts · Server ruhr.social

@AstraKernel
I think it is B because v1 borrows v but the lifetime directly ends and v is free for v2 again.

#rustquiz #rustlang #rust #borrowchecker

Last updated 2 years ago

casraf :typescript: :dartlang: · @casraf
131 followers · 438 posts · Server fosstodon.org

`my sanity` does not live long enough 🙄

#rust #borrowchecker

Last updated 2 years ago

Thomas Laferriere · @tlaferriere
2 followers · 91 posts · Server fosstodon.org

This thread on the forum has taught me so much more than any other resource about the that I think its content should become part of some official docs (like a deep dive section in the ) users.rust-lang.org/t/what-is-

#rustlang #borrowchecker #rustbook

Last updated 2 years ago

Benoît Allard · @benallard
16 followers · 49 posts · Server osna.social

I just completed "No Space Left On Device" - Day 7 - Advent of Code 2022 adventofcode.com/2022/day/7

Screw the , rulez!

github.com/benallard/advent/bl

#adventofcode #borrowchecker #python

Last updated 2 years ago

nosh :fosstodon: · @nosherwan
330 followers · 1589 posts · Server fosstodon.org

:rust: Borrow Checker

does a brilliant job of describing what is in

youtube.com/watch?v=ZNFdkTIzdX

As in the past I had learnt C & C++ I know about value vs reference so it was easy for me to grasp the concept.

#primeagen #borrowchecker #rust

Last updated 2 years ago

The one "" to make 's shut the hell up :)

#illegaltrick #rust #borrowchecker

Last updated 2 years ago

Michael Connor Buchan · @TheFake_VIP
533 followers · 1783 posts · Server linuxrocks.online

Feel like I achieved something today. Got a nice going in , with a lot of convenient functionality, that finally satisfies the ! Doing something in Rust is almost always rewarding when you're new to it, because you've likely spent many hours battling through compile errors and re-architecting your solution.

#myJourneyWithRust #borrowchecker #rust #treeStructure

Last updated 4 years ago

Ivan Enderlin 🌱 :ferris: · @hywan
820 followers · 751 posts · Server fosstodon.org

Rust pattern: Iterating an over a `Rc<Vec<T>>`, smallcultfollowing.com/babyste.

A very instructive discussion about how to iterate a `Rc<Vec<T>>` while getting the borrow checker happy. Must read.

#rustlang #borrowchecker

Last updated 7 years ago