# write function types consistently with a space before \`fn\` keyword · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ee4ced96833470f9432e6a5dc5b31534457280c0)

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

Visibility: public

Requested revision: ee4ced96833470f9432e6a5dc5b31534457280c0

Requested commit: ee4ced96833470f9432e6a5dc5b31534457280c0

Commit: ee4ced96833470f9432e6a5dc5b31534457280c0

Tree: 8d35dc654895f029e23ce710367b839814ed5cd9

Author: r00ster91

Committer: Veikka Tuominen

## Message

```
write function types consistently with a space before `fn` keyword

Currently, the compiler (like @typeName) writes it `fn(...) Type` but
zig fmt writes it `fn (...) Type` (notice the space after `fn`).
This inconsistency is now resolved and function types are consistently
written the zig fmt way. Before this there were more `fn (...) Type`
occurrences than `fn(...) Type` already.

```

## Parents

- [3e79315d19c7dfe5f9b90185d8030209ef8dd829](https://git.cafe/gitcafe/zig/commit/3e79315d19c7dfe5f9b90185d8030209ef8dd829?format=markdown)

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