We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#![feature()]
1 parent d68009a commit 38a0efdCopy full SHA for 38a0efd
c2rust-transpile/src/translator/pointers.rs
@@ -183,8 +183,8 @@ impl<'c> Translation<'c> {
183
val = val.map(|val| mk().set_mutbl(mutbl).raw_borrow_expr(val));
184
185
if is_array_decay {
186
- // TODO: Call `ptr::as_[mut]_ptr` instead once that is available.
187
- // (`array_ptr_get` feature added to nightly in January 2024)
+ // TODO: Call `pointer::as_[mut]_ptr` instead once that is available.
+ // (`#![feature(array_ptr_get)]` added in nightly-2024-03-17.)
188
needs_cast = true;
189
}
190
0 commit comments