# Add \`Sized\` bound to \`StyleHelpers\` \(\#3042\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/568fec0f5431ad47d65fb426cf5cda18555c29dd)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 568fec0f5431ad47d65fb426cf5cda18555c29dd

Requested commit: 568fec0f5431ad47d65fb426cf5cda18555c29dd

Commit: 568fec0f5431ad47d65fb426cf5cda18555c29dd

Tree: c6f064bb373ce3ff07e2ae511d29aa1447c84af9

Author: Marshall Bowers

Committer: GitHub

## Message

```
Add `Sized` bound to `StyleHelpers` (#3042)

This PR adds a `Sized` bound to the `StyleHelpers` trait.

All of the individual methods on this trait already had a `Self: Sized`
bound, so moving it up to the trait level will make it so we don't have
to repeat ourselves so much.

There's an open question of whether we can hoist the `Sized` bound to
`Styleable`, but it's possible there are cases where we'd want to have a
`Styleable` trait object.

Release Notes:

- N/A
```

## Parents

- [e9e558d8c850b70ba93481a491d8c8ac07383ddd](https://git.cafe/gitcafe/zed/commit/e9e558d8c850b70ba93481a491d8c8ac07383ddd?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/568fec0f5431ad47d65fb426cf5cda18555c29dd?format=markdown)
