damn, Golang is picky! https://octodon.social/media/rPvteRvL9otauckN9fk
@schlink first image, slices and arrays are 2 different storage mediums, which is why it fails.
Don't know so much about rust though. I just stopped trying it after a while since the syntax, etc. is counter productive to me. Makes me get less work done.
@schlink *punches head, THROUGH WALL*
@schlink but yeah, golang if you want to stay sane.
Rust has only given me bs issues with confusing compiler errors and documentation.
@Clipsey ha thanks. I feel absolved
@Clipsey Ah ok so I really just had to convert the i32 to usize with this cute-as-hell `as` function thing https://play.rust-lang.org/?gist=2e55cf6962ed82df48afa14fa331f82d&version=stable
But yeah, still rough
@Clipsey Yeah I'm about ready to wave the white flag.
Here's that error, isolated in the playground if you want to beat your head against the wall: https://play.rust-lang.org/?gist=40257dc021809a8c8a6750ab2f133a8a&version=stable
Like, maybe I'll figure it out after an hour, but I feel like then it'll just be some other cryptic error