Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in borrowing
Multiple lifetimes and move: assignment to borrowed `x` occurs here
Mar 09, 2023
reference
rust
lifetime
borrowing
immutable value is still being moved
Mar 04, 2023
rust
closures
borrow-checker
ownership
borrowing
Am I incorrectly implementing IntoIterator for a reference to a LazyList implementation or is this a Rust bug?
Feb 08, 2023
rust
lifetime
borrow-checker
borrowing
lifetime-scoping
What are the semantics of mutably borrowing a literal in Rust? [duplicate]
Jan 30, 2023
rust
semantics
literals
borrowing
How can multiple threads share an iterator?
Dec 26, 2022
multithreading
rust
borrowing
Problems with lifetime/borrow on str type
Dec 25, 2022
rust
lifetime
borrowing
Cannot borrow `*x` as mutable because it is also borrowed as immutable
Dec 20, 2022
rust
immutability
mutable
borrowing
How do I pass a string to HashSet contains?
Dec 21, 2022
string
rust
hashset
borrowing
Why can I just pass an immutable reference to BufReader, instead of a mutable reference? [duplicate]
Nov 01, 2022
reference
rust
immutability
borrowing
Can I create a struct in Rust containing a String and a slice of that String?
Oct 29, 2022
rust
borrow-checker
borrowing
Unable to return a vector of string slices: borrowed value does not live long enough
Aug 03, 2018
vector
rust
borrowing
Iterating through a recursive structure using mutable references and returning the last valid reference
Apr 04, 2022
reference
rust
mutable
borrowing
Why did compiler not error on this mutable borrow when there is an immutable borrowed string slice reference still in scope?
Jul 01, 2020
rust
ownership
borrowing
Opposite of Borrow trait for Copy types?
Jun 06, 2022
rust
traits
ownership
borrowing
Why can borrowed string literal outlive its owner by faking a lifetime?
Mar 14, 2022
rust
lifetime
borrow-checker
borrowing
Can you implement math ops on structs without explicit references or ownership moving?
Aug 17, 2021
rust
borrow-checker
borrowing
How borrow as mutable vs immutable in Rust?
May 07, 2022
rust
mutable
borrowing
Can I reassign a mutable slice reference to a sub-slice of itself?
May 28, 2022
rust
lifetime
borrowing
How does returning a reference to Path from the function's stack work?
May 02, 2022
syntax
rust
lifetime
borrow-checker
borrowing
How to accept &str, String and &String in a single function?
Aug 27, 2022
string
rust
borrowing
Older Entries »