Non dyn usable assoc type
hi folks! why does an assoc type with a Self: Sized bound non dyn usable? (I just crammed this fact and I don't know why exactly does it work this way....) trait Trait { type Foo where Self: Sized; fn foo(&self) ->…
Daily edition · Rust
TILens turns technical updates into a focused daily brief: official releases, trusted reporting, and practitioner analysis, deduplicated and organized by topic.
5 articles · 4 sources ·
hi folks! why does an assoc type with a Self: Sized bound non dyn usable? (I just crammed this fact and I don't know why exactly does it work this way....) trait Trait { type Foo where Self: Sized; fn foo(&self) ->…
I have a three-dimensional array like this: const XDIM = 60; const YDIM = 60; const ZDIM = 2; let mut world = [[[0.0; ZDIM] ; YDIM]; XDIM]; How would I extract all the X and Y contents for a single Z-value, giving me…
The 1.99.1 pre-release is ready for testing. The release is scheduled for October 15. Release notes can be found here. You can try it out locally by running: RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup…
AI has moved well beyond experimentation in software development. Coding assistants, AI agents, and general-purpose AI tools are now part of how many engineers write code, troubleshoot problems, and navigate unfamiliar…