We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prior discussion playground
I tried this code:
let ip = Ipv6Addr::new(123, 0, 3, 0, 0, 0, 36, 2); dbg!(&ip);
I expected to see this happen: It prints 7b:0:3::24:2
7b:0:3::24:2
Instead, this happened: It prints 0x7b:0x0:0x3::0x24:0x2
0x7b:0x0:0x3::0x24:0x2
rustc --version --verbose:
rustc --version --verbose
rustc 1.48.0 (7eac88abb 2020-11-16) binary: rustc commit-hash: 7eac88abb2e57e752f3302f02be5f3ce3d7adfb4 commit-date: 2020-11-16 host: x86_64-unknown-linux-gnu release: 1.48.0 LLVM version: 11.0
<backtrace>
The text was updated successfully, but these errors were encountered:
@KSXGitHub are you interested in fixing this yourself? I think the relevant code is
rust/library/std/src/net/ip.rs
Line 1614 in f09fb48
Sorry, something went wrong.
@jyn514 Nope, I'm not interested spending half a day compiling this repo.
dbg!(Ipv6)
950ed27
Successfully merging a pull request may close this issue.
prior discussion
playground
I tried this code:
I expected to see this happen: It prints
7b:0:3::24:2
Instead, this happened: It prints
0x7b:0x0:0x3::0x24:0x2
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: