Skip to content

Commit dab3bb6

Browse files
committed
README: Remove manual reflows
1 parent 6fd4a3a commit dab3bb6

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,16 @@ drop(resource);
161161
allocator.free(&allocation).unwrap();
162162
```
163163

164-
## `no_std` Support
164+
## `no_std` support
165165

166-
`no_std` support can be enabled by compiling with `--no-default-features` to
167-
disable `std` support and `--features hashbrown` for `Hash` collections that are only
168-
defined in `std` for internal usages in crate. For example:
166+
`no_std` support can be enabled by compiling with `--no-default-features` to disable `std` support and `--features hashbrown` for `Hash` collections that are only defined in `std` for internal usages in crate. For example:
169167

170168
```toml
171169
[dependencies]
172170
gpu-allocator = { version = "0.27.0", default-features = false, features = ["hashbrown", "other features"] }
173171
```
174172

175-
To support both `std` and `no_std` builds in project, you can use the following
176-
in your `Cargo.toml`:
173+
To support both `std` and `no_std` builds in your project, use the following in your `Cargo.toml`:
177174

178175
```toml
179176
[features]

README.tpl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,16 @@ gpu-allocator = "0.27.0"
1919

2020
{{readme}}
2121

22-
## `no_std` Support
22+
## `no_std` support
2323

24-
`no_std` support can be enabled by compiling with `--no-default-features` to
25-
disable `std` support and `--features hashbrown` for `Hash` collections that are only
26-
defined in `std` for internal usages in crate. For example:
24+
`no_std` support can be enabled by compiling with `--no-default-features` to disable `std` support and `--features hashbrown` for `Hash` collections that are only defined in `std` for internal usages in crate. For example:
2725

2826
```toml
2927
[dependencies]
3028
gpu-allocator = { version = "0.27.0", default-features = false, features = ["hashbrown", "other features"] }
3129
```
3230

33-
To support both `std` and `no_std` builds in project, you can use the following
34-
in your `Cargo.toml`:
31+
To support both `std` and `no_std` builds in your project, use the following in your `Cargo.toml`:
3532

3633
```toml
3734
[features]

0 commit comments

Comments
 (0)