fa
Feedback

فریب کلاهبرداران را نخورید! تل‌متریو این کانال‌ها را شناسایی و برچسب‌گذاری می‌کند 👉 برای مشاهده برچسب، اشتراک تهیه کنید

Awful Rust snippets for fun and profit

Awful Rust snippets for fun and profit

رفتن به کانال در Telegram

seen something awful and want to post it here? send it to @goldsteinq

نمایش بیشتر
کشور مشخص نشده استفناوری و برنامه‌ها112 935
220
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
implicit use of a trait we’re currently implementing leaks through a module bonus points to anyone who finds any related docu
implicit use of a trait we’re currently implementing leaks through a module bonus points to anyone who finds any related documentation (please tell me in the comments if you do!) playground thanks to @kanashimia for showing me this (also yay 200 subscribers!)

oh, and also I published this one trick as a crate: https://github.com/GoldsteinE/dyngo

it’s possible to work around the “bounds with different associated types are not considered disjoint” limitation by using a h
it’s possible to work around the “bounds with different associated types are not considered disjoint” limitation by using a helper trait thanks to the Marin Veršić, author of the disjoint_impls crate for publishing this trick! playground rust-lang/rust issue

I wrote a longish post about this one since snippet alone doesn’t explain it well Post: deref specialization in const contexts