Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in borrow-checker

How to design a mutable collection of Mutex?

Immutable object changing to mutable depending on function signature

Rust: can I have a fixed size slice by borrowing the whole fixed size array in a smaller scope in a simple way

Understanding non lexical lifetimes when calling functions that return reference

What's the most idiomatic Rust way to modify an optional element of a Vec conditionally?

rust idioms borrow-checker

Borrowing errors bypassable with an intermediate variable

How do I destructure an object without dropping it?

What counts as a temporary variable in rust? [duplicate]

Parallel write to array with a unique indices array

Ownership problem with char to string conversion

Why does Vec<T>::split_at_mut borrow the vector for the rest of the scope?

rust borrow-checker

Satisfying the Rust borrow checker with structs

rust borrow-checker

Rust Borrow Checker Question: Don't know where immutable borrow happens that prevents compiling

rust borrow-checker

How to pass a struct implementing multiple traits to a function accepting those traits as &mut?

Two mutable borrows happen on the same line?

rust borrow-checker

Rust moving value into both sides of map_or_else?

Rust, how to copy the inner value out from Rc<RefCell<T>> and return it?

rust borrow-checker refcell