Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in lifetime

How can multiple parts of self be borrowed here? Isn't self borrowed mutably as well as immutably here?

How to kill NSWindow properly?

In the C++ standard, paragraph 6.7.3.5, what does "depends on the side effects" mean?

WCF channel lifetime with repeat calls

c# wcf channel lifetime

Does &'a T imply T: 'a?

How to fix lifetimes when returning and iterator over borrowed data?

rust lifetime

Why does std::thread::Scope::spawn need the bound `T: 'scope`?

rust lifetime

How to pass &mut str and change the original mut str without a return?

How to set the lifetime on these structures?

rust lifetime

Why does a &str not have a "does not live long enough" issue when returned from a function? [duplicate]

setting pointer to variable declared in local scope in C

Lifetime of "extern" variable in C?

c extern lifetime

How to prevent a value from being moved?

rust move lifetime

lifetime bound on associated type is rejected although it seems valid

rust traits lifetime

When exactly temporary object in function call is dropped in Rust?

rust lifetime

What does this higher-ranked trait bound mean?

rust traits lifetime

How should I restructure my graph code to avoid an "Cannot borrow variable as mutable more than once at a time" error?

rust lifetime borrowing

Why does reassigning a function argument reference cause a lifetime error in Rust?

rust lifetime

Does returning a reference extend its lifetime too?