Skip to content

Commit f6a1929

Browse files
committed
Use hyperlinks
Clippy emits two warnings of type: warning: this URL is not a hyperlink As suggested, add pointy brackets to the links.
1 parent d068fd7 commit f6a1929

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ unsafe fn strlen(mut str_ptr: *const c_char) -> usize {
639639

640640

641641
/// 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>)
643643
/// In case the type is empty this trait will give a NULL pointer, which should be handled in C.
644644
///
645645
pub trait CPtr {

secp256k1-sys/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub type size_t = usize;
1010
/// The way we use it makes it fine either way but this type shouldn't be used outside of the library.
1111
pub type c_char = i8;
1212

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>
1414
/// It should be Equivalent to C's void type when used as a pointer.
1515
///
1616
/// We can replace this with `core::ffi::c_void` once we update the rustc version to >=1.30.0.

0 commit comments

Comments
 (0)