File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ unsafe fn strlen(mut str_ptr: *const c_char) -> usize {
639
639
640
640
641
641
/// A trait for producing pointers that will always be valid in C. (assuming NULL pointer is a valid no-op)
642
- /// Rust doesn't promise what pointers does it give to ZST (https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts)
642
+ /// Rust doesn't promise what pointers does it give to ZST (< https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts> )
643
643
/// In case the type is empty this trait will give a NULL pointer, which should be handled in C.
644
644
///
645
645
pub trait CPtr {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pub type size_t = usize;
10
10
/// The way we use it makes it fine either way but this type shouldn't be used outside of the library.
11
11
pub type c_char = i8 ;
12
12
13
- /// This is an exact copy of https://doc.rust-lang.org/core/ffi/enum.c_void.html
13
+ /// This is an exact copy of < https://doc.rust-lang.org/core/ffi/enum.c_void.html>
14
14
/// It should be Equivalent to C's void type when used as a pointer.
15
15
///
16
16
/// We can replace this with `core::ffi::c_void` once we update the rustc version to >=1.30.0.
You can’t perform that action at this time.
0 commit comments