fasterthanlime , vor 8 Tagen Englisch no REPL? no problem. creating a test that panics with a debug formatting of the expression I want to inspect, clicking the "play" button in Zed — tada!
no REPL? no problem.
creating a test that panics with a debug formatting of the expression I want to inspect, clicking the "play" button in Zed — tada!
orizuru , vor 8 Tagen Englisch @fasterthanlime I prefer the dbg! macro, but I guess that's a solution. 🙃
@fasterthanlime I prefer the dbg! macro, but I guess that's a solution. 🙃
iacore , vor 8 Tagen Englisch @fasterthanlime isn't this is correct usage of tests? tests don't end up in the final application, types do.
@fasterthanlime isn't this is correct usage of tests? tests don't end up in the final application, types do.
0atman , vor 8 Tagen Englisch @fasterthanlime If it's dumb, but it works, it's not dumb! This is also the only way (panicking) to get information out of a rust const context (no printing). (btw I talked about it in the second half of this cry for help video) https://www.youtube.com/watch?v=voRBS0r4EyI
@fasterthanlime If it's dumb, but it works, it's not dumb!
This is also the only way (panicking) to get information out of a rust const context (no printing).
(btw I talked about it in the second half of this cry for help video) https://www.youtube.com/watch?v=voRBS0r4EyI
StupidCamille , vor 8 Tagen Englisch @fasterthanlime This is at the same time ultra smart and cursed, I'm all for it :O
@fasterthanlime This is at the same time ultra smart and cursed, I'm all for it :O