Search code examples
How to wrap a borrowed value in a newtype that is also a borrowed value?...


referencerustborrowingnewtype

Read More
Can I mutate a vector with a borrowed element?...


rustreferenceborrow-checkerborrowing

Read More
Why Rust prevents from multiple mutable references?...


multithreadingrustborrow-checkerborrowing

Read More
How to accept &str, String and &String in a single function?...


stringrustborrowing

Read More
Rust - Converting from `&str` to `String` and back with Closures...


rustclosuresborrow-checkerownershipborrowing

Read More
Value does not live long enough...


rustlifetimeborrowing

Read More
Mutable borrow to object inside Mutex - how to refactor?...


rustrefactoringmutexborrowing

Read More
How to fix String field does not implement `Copy`?...


rustborrowing

Read More
What are the semantics of mutably borrowing a literal in Rust?...


rustsemanticsliteralsborrowing

Read More
How do I convert a HashSet of Strings into a Vector?...


vectorrusthashsetborrowing

Read More
How to fit a Rust ZipArchive and ZipFile into a single Read-implementing struct, while dealing with ...


rustlifetimeborrowing

Read More
How to borrow a field for serialization but create it during deserialization?...


rustserdeborrowing

Read More
Am I incorrectly implementing IntoIterator for a reference to a LazyList implementation or is this a...


rustlifetimeborrow-checkerborrowinglifetime-scoping

Read More
How to modify a Cow variable that uses itself in a loop?...


loopsrustborrow-checkerborrowing

Read More
Can I get a value from an immutable BTreeMap?...


rustimmutabilityborrow-checkerborrowing

Read More
Why I get "temporary value dropped while borrowed" if I assign, but not when passing via f...


rustborrow-checkerownershipborrowing

Read More
Nested method calls with existing mutable references...


rustreferenceborrow-checkerborrowing

Read More
impl push(self , item : T) for a struct with 2 Vecs<T>...


rusttraitsborrowing

Read More
Recursion over a mutable binary tree: `already borrowed: BorrowMutError`...


memory-managementrustborrowing

Read More
Can I somehow modify a '&' array?...


rustownershipborrowing

Read More
Why does calling a method on a mutable variable cause its value to be moved?...


rustborrowing

Read More
How to call regexes in a loop without cloning the data...


rustborrow-checkerownershipborrowing

Read More
Rust: Cannot reference local variable in return value - but the "local variable" is passed...


rustlifetimeborrow-checkerborrowing

Read More
Trying to borrow variable binding from outside of loop in Rust...


loopsrustborrowing

Read More
How borrow as mutable vs immutable in Rust?...


rustmutableborrowing

Read More
Rust trying to maintain self-defined list: cannot borrow `self.array` as mutable more than once at a...


rustborrowing

Read More
How to remove a node from a binary search tree without unsafe?...


rustbinary-treeborrowing

Read More
How to fix Rust error "value used here after move"?...


rustcloneownershipborrowing

Read More
String concatenation in rust and borrowing...


rustownershipborrowing

Read More
"cannot borrow as mutable more than once" even after dropping the first borrow...


genericsrustlifetimeborrow-checkerborrowing

Read More
BackNext