# Flip the optionality of the \`auto_update\` setting \(\#10302\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 843aad80c6dc731a2a6c943c08534a47af9cee85

Requested commit: 843aad80c6dc731a2a6c943c08534a47af9cee85

Commit: 843aad80c6dc731a2a6c943c08534a47af9cee85

Tree: 9e2bf70a127e850a2afa52cb698b9fec15301d2d

Author: Marshall Bowers

Committer: GitHub

## Message

````
Flip the optionality of the `auto_update` setting (#10302)

This PR flips the optionality of the `AutoUpdateSettingContent` to make
it a bit easier to work with.

#### Before

```rs
struct AutoUpdateSettingContent(Option<bool>);

type FileContent = AutoUpdateSettingContent;
```

#### After

```rs
struct AutoUpdateSettingContent(bool);

type FileContent = Option<AutoUpdateSettingContent>;
```

Release Notes:

- N/A
````

## Parents

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

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