Megmegmac@treehouse.systems
Jul 7, 2026, 4:01 AM@jhpratt it's been a long day so maybe I'm missing the obvious, but what would it actually mean for a trait item to not be pub?
@jhpratt it's been a long day so maybe I'm missing the obvious, but what would it actually mean for a trait item to not be pub?
@megmac It could neither be implemented nor called downstream. If a trait item without a default body (or type/const) were not visible in a given scope, you'd be unable to implement the trait as a result. Just as constructing a struct with private fields isn't permitted.