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 76d7b6ac70
commit 844361cb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;