Skip to content

Commit 3df2c25

Browse files
Apply suggestions from code review
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
1 parent 11be401 commit 3df2c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/tyvar-behind-raw-pointer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ See Rust issue [#46906] for details.
7777
> もう一つは今 `*const MyType` に対して実装された `is_null` です。
7878
> つまり、関連メソッドの呼び出しに曖昧性が生じています。
7979
>
80-
> この問題の解決策は簡単です。キャスト後の型が何への英数ポインタであることを明示すればよいです:
80+
> この問題の解決策は簡単です。キャスト後の型がどの定数ポインタになるのか明示すればよいです:
8181
>
8282
> ```rust
8383
> let s = libc::getenv(k.as_ptr()) as *const libc::c_char;

0 commit comments

Comments
 (0)