fix type in example (#832)

Because the below explanation says that function type is `fn(u32) -> u32`
This commit is contained in:
Gurwinder Singh 2020-08-21 15:24:59 +05:30 committed by GitHub
parent 18a74597ac
commit 3c45557472

View file

@ -92,7 +92,7 @@ Here is one more example:
```rust
mod a {
type X = u32;
pub fn foo(x: X) -> i32 { 22 }
pub fn foo(x: X) -> u32 { 22 }
}
mod b {
type X = i32;