SpiceQA
Questions
Tags
Users
Badges
borrowing
67 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
A Hashmap supporting String and &str
user_523060
0
•
asked Jun 20, 2019
2
1
960
run-time-polymorphism
borrowing
rust
copy-on-write
Can a closure return a reference to data it owns?
user_353820
0
•
asked Jan 18, 2019
2
0
29
borrowing
ownership
rust
closures
Why can borrowed string literal outlive its owner by faking a lifetime?
user_5817767
0
•
asked Jan 9, 2019
5
1
306
borrowing
borrow-checker
rust
lifetime
How to wrap a borrowed value in a newtype that is also a borrowed value?
user_1048572
0
•
asked Jan 1, 2019
3
2
835
newtype
borrowing
rust
reference
Why did compiler not error on this mutable borrow when there is an immutable borrowed string slice reference still in scope?
user_868044
0
•
asked Dec 28, 2018
5
1
219
borrowing
ownership
rust
Swapping two local references leads to lifetime error
user_3193180
0
•
asked Dec 18, 2018
7
4
1017
borrowing
borrow-checker
rust
lifetime
In what scenarios are APIs that don't borrow preferred?
user_1531806
0
•
asked Dec 16, 2018
11
1
1154
borrowing
rust
move-semantics
api-design
reference
How to use the Rust type system to prevent output to stdout?
user_2480092
0
•
asked Nov 9, 2018
2
1
956
borrowing
borrow-checker
rust
lifetime
locking
Why can the Rust compiler break borrowing rules when using Rust 1.31?
user_6999141
0
•
asked Oct 29, 2018
6
3
379
borrowing
borrow-checker
rust
Extracting an archive with progress bar - mutable borrow error
user_2802364
0
•
asked Oct 26, 2018
3
1
116
borrowing
rust
file
Prev
Prev
3
4
5
6
(current)
7
Next
Next
Hot Questions