Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

What type is the "type ()" in Rust?

rust

Allocate array onto heap with size known at runtime

arrays rust heap-memory

Using the Rust compiler to prevent forgetting to call a method

rust api-design type-safety

How do I unwrap an arbitrary number of nested Option types?

generics rust

How to format a byte into a 2 digit hex string, in Rust [duplicate]

rust string-formatting

How can I create an iterator that repeats multiple values infinitely?

iterator rust

Returning error message to function expecting 'Box<dyn Error>'

error-handling rust

Why are string literals &str instead of String in Rust?

Dereferencing Box<T> gives back value instead of reference

rust

Generic struct over a generic type without type parameter

How do I specify a boolean command line flag using Clap?

rust clap

How do I print a Rust floating-point number with all available precision?

formatting rust cordic

Where are Rust's boolean and other primitive types implemented?

types rust primitive

How do I disambiguate traits in Rust?

rust

How do I generate a vector of random numbers in a range?

vector random rust

Why does the ? operator report the error "the trait bound NoneError: Error is not satisfied"?

error-handling rust

Why is the size of a tuple or struct not the sum of the members?

rust memory-layout

Removing elements from a Vec based on some condition [duplicate]

rust

Could not write to .bash_profile when installing Rust on macOS Sierra

macos terminal rust

Vec::dedup does not work — how do I deduplicate a vector of strings?

string vector rust