Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/const-generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ In some sense the desugarings from the previous examples are to:
struct Foo<const N: usize>;
type Alias = [u8; 1 + 1];

// sort-of desugars to psuedo-rust:
// sort-of desugars to pseudo-rust:
struct Foo<const N: usize>;

const ANON = 1 + 1;
Expand Down Expand Up @@ -178,7 +178,7 @@ To check this we have [`ClauseKind::ConstArgHasType(ty::Const, Ty)`][const_arg_h
```rust
fn foo<const N: usize>() {}

// desugars to in psuedo-rust
// desugars to in pseudo-rust

fn foo<const N>()
where
Expand Down
Loading