Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How to specify a lifetime for an Option<closure>?

syntax rust lifetime

Cannot return a vector slice - ops::Range<i32> is not implemented

rust

How does the lifetime work on constant strings / string literals?

How does the Rust compiler know `Cell` has internal mutability?

rust mutability

Referring to matched value in Rust

rust match

Why can't I add a blanket impl on a trait with a type parameter?

How to call methods on self in macros?

rust rust-macros

Read from an enum without pattern matching

Passing a JavaScript string to a Rust function compiled to WebAssembly

Difference between copied and cloned on Rust iterators

rust iterator copy clone

How do I check if both variables are both Some?

rust

Why does `rev().rev()` work but `rev().skip(1).rev()` does not?

rust

Providing an implementation when both trait and type are not in this crate [duplicate]

traits rust

How to lend a Rust object to C code for an arbitrary lifetime?

c rust ffi

Do I have to implement a trait twice when implementing it for both reference and non-reference types?

rust traits

Why do Rust mutexes not seem to give the lock to the thread that wanted to lock it last?

Rust Chrono parse date String, ParseError(NotEnough) and ParseError(TooShort)

rust rust-chrono

How do I create two new mutable slices from one slice?

slice rust

How can the location of Cargo's configuration directory be overridden?

rust rust-cargo

Should I return &Option<Foo> or Option<&Foo> from a getter?

rust