]> git.lizzy.rs Git - rust.git/commit
Temporarily make `CStr` not a link in the `c_char` docs
authorJosh Triplett <josh@joshtriplett.org>
Wed, 2 Mar 2022 01:36:40 +0000 (17:36 -0800)
committerJosh Triplett <josh@joshtriplett.org>
Wed, 2 Mar 2022 01:36:40 +0000 (17:36 -0800)
commit75c3e9c23f07b275548998555883e34e39896587
tree3db08db2e749ce92329d1a51b4056906456c5cdf
parent335c9609c6340a9933915e717ee7a722bd9f81bc
Temporarily make `CStr` not a link in the `c_char` docs

When CStr moves to core with an alias in std, this can link to
`crate::ffi::CStr`. However, linking in the reverse direction (from core
to std) requires a relative path, and that path can't work from both
core::ffi and std::os::raw (different number of `../` traversals
required).
library/core/src/ffi/c_char.md