Merge pull request #298 from zongzi531/fix/typo-const-generics

fix: typo
This commit is contained in:
Sunface 2022-08-12 17:13:13 +08:00 committed by GitHub
commit acdab415de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ fn bar<T, const M: usize>() {
fn main() {}
```
1. const 泛型还能帮我们避免一些运行时检查,提升性能
3. const 泛型还能帮我们避免一些运行时检查,提升性能
```rust
pub struct MinSlice<T, const N: usize> {
pub head: [T; N],