TcpStream.recv(): wrap callback in RefCell to allow FnMut #50

Closed
astro wants to merge 1 commits from tcp-recv-fnmut into master

No unsafe but I'm not 100% certain of any repercussions. artiq-zynq seems to work.

No `unsafe` but I'm not 100% certain of any repercussions. artiq-zynq seems to work.

I'm already using RefCell in one place, and could write the code without it in other places. I don't think we need RefCell systematically. Closing for now.

I'm already using RefCell in one place, and could write the code without it in other places. I don't think we need RefCell systematically. Closing for now.
sb10q closed this pull request 2020-07-24 09:49:47 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/zynq-rs#50
There is no content yet.