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

Warning when creating TCP server #341

Closed
alphaville opened this issue Mar 26, 2024 · 0 comments · Fixed by #342
Closed

Warning when creating TCP server #341

alphaville opened this issue Mar 26, 2024 · 0 comments · Fixed by #342
Assignees
Labels
bug Something isn't working rust issue related to the code Rust library

Comments

@alphaville
Copy link
Owner

alphaville commented Mar 26, 2024

Describe the bug

When compiling a TCP server and when starting it, the following warning is shown

warning: field `0` is never read
  --> src/main.rs:64:10
   |
64 |     Kill(i32),
   |     ---- ^^^
   |     |
   |     field in this variant
   |
   = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
64 |     Kill(()),
   |          ~~

System information

  • System/Platform: Jupyter notebook running on docker image alphaville/open:0.5.0
  • OS: Debian
  • What is the output of rustup show?
Default host: x86_64-unknown-linux-gnu
rustup home:  /root/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.77.0 (aedd173a2 2024-03-17)
  • What is the output of rustc -V?
rustc 1.77.0 (aedd173a2 2024-03-17)
  • Python/MATLAB version if relevant: Python 3.11.2
@alphaville alphaville added bug Something isn't working rust issue related to the code Rust library labels Mar 26, 2024
@alphaville alphaville self-assigned this Mar 26, 2024
alphaville added a commit that referenced this issue Mar 26, 2024
About:
- handling kill code in TCP iface
- Update changelog (v0.8.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rust issue related to the code Rust library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant