You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Spawning section of the Tokio tutorial, there is the following sentence:
The link in the info-box above uses the terminology "bounded by 'static" rather than "its type outlives 'static" or "the value is 'static" for T: 'static.
However, the info-box in the tutorial doesn't mention "bounded by 'static" anywhere. Rather the info-box states:
It is a common misconception that 'static always means "lives forever", but this is not the case. Just because a value is 'static does not mean that you have a memory leak. You can read more in Common Rust Lifetime Misconceptions.
It would be clearer to change/clarify the "bounded by 'static" to make it more understandable.
The text was updated successfully, but these errors were encountered:
In the Spawning section of the Tokio tutorial, there is the following sentence:
However, the info-box in the tutorial doesn't mention "bounded by 'static" anywhere. Rather the info-box states:
It would be clearer to change/clarify the "bounded by 'static" to make it more understandable.
The text was updated successfully, but these errors were encountered: