There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Ephera OP ,

Pretty sure, it’s not. That’s why I included the error highlighting.

To make it a valid struct field, you’d need to throw in a Box+dyn:


<span style="font-weight:bold;color:#a71d5d;">pub</span><span style="color:#323232;"> pint: Box<dyn Sized>
</span>

For a function parameter, you need an impl and can’t have the pub:


<span style="color:#323232;">pint: </span><span style="font-weight:bold;color:#a71d5d;">impl </span><span style="color:#323232;">Sized
</span>

Obviously, you could define your own struct or generic that also happens to be called Sized, but yeah, that’s cheating.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines