Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

What is a macro for concatenating an arbitrary number of components to build a path in Rust?

path macros rust filepath

How can I reborrow a mutable reference without passing it to a function?

rust borrow-checker

Should I use libc::c_char or std::os::raw::c_char?

rust ffi

Efficiently mutate a vector while also iterating over the same vector

rust

How can I find the current Rust compiler's default LLVM target triple?

rust llvm

How can I support an unknown or other value for a Serde enum?

rust serde

Why is iterating over a collection via `for` loop considered a "move" in Rust?

rust move borrowing

Cycle a Rust iterator a given number of times

rust iterator cycle

Implement fmt::Display for Vec<T>

printf rust traits

How to get a pointer to a containing struct from a pointer to a member?

pointers rust

What is the idiomatic way of using an if-let binding when matching a `Result` and still being able to capture the error?

rust

How do I create a VecDeque from a vector?

vector rust

max_by_key on Map doesn't allow destructuring of tuple into key-value pair

rust lifetime

Why can fixed-size arrays be on the stack, but str cannot?

rust language-lawyer

Why does refactoring by extracting a method trigger a borrow checker error?

rust borrow-checker

How can I flatten nested Results?

error-handling rust flatten

"borrowed value does not live long enough" when using the builder pattern

How do I use the box keyword in pattern matching?

Is it possible to create an Arc<[T]> from a Vec<T>?

rust

How do I create a BinaryHeap that pops the smallest value, not the largest?

sorting rust binary-heap