Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A n00b question #7

Closed
wongzigii opened this issue May 16, 2018 · 1 comment
Closed

A n00b question #7

wongzigii opened this issue May 16, 2018 · 1 comment

Comments

@wongzigii
Copy link

https://github.com/Matrix-Zhang/kcp/blob/master/src/kcp.rs#L340

Thanks for your great work for this project.

What is the usage of these curly brackets? Just start learning Rust, so maybe this is a noob question.

:D

@zonyitoo
Copy link
Collaborator

To limit seg's lifetime in this range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants