Skip to content

Commit e8f79d8

Browse files
Fix markdown warnings.
In current Rust, the usage of URLs like this result in warnings when generating documentation.
1 parent bfd949e commit e8f79d8

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/encode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum Code {
3232
/// An Objective-C type encoding.
3333
///
3434
/// For more information, see Apple's documentation:
35-
/// https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html
35+
/// <https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html>
3636
pub struct Encoding {
3737
code: Code,
3838
}

src/message/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use super::Super;
77
pub fn msg_send_fn<R: Any>(obj: *mut Object, _: Sel) -> (Imp, *mut Object) {
88
// Double-word sized fundamental data types don't use stret,
99
// but any composite type larger than 4 bytes does.
10-
// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf
10+
// <http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf>
1111

1212
extern {
1313
fn objc_msgSend();

src/message/arm64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::Super;
33

44
pub fn msg_send_fn<R>(obj: *mut Object, _: Sel) -> (Imp, *mut Object) {
55
// stret is not even available in arm64.
6-
// https://twitter.com/gparker/status/378079715824660480
6+
// <https://twitter.com/gparker/status/378079715824660480>
77

88
extern {
99
fn objc_msgSend();

src/message/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ pub unsafe trait Message {
4747
Sends a message to self with the given selector and arguments.
4848
4949
The correct version of `objc_msgSend` will be chosen based on the
50-
return type. For more information, see Apple's documenation:
51-
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html#//apple_ref/doc/uid/TP40001418-CH1g-88778
50+
return type. For more information, see Apple's documentation:
51+
<https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html#//apple_ref/doc/uid/TP40001418-CH1g-88778>
5252
5353
If the selector is known at compile-time, it is recommended to use the
5454
`msg_send!` macro rather than this method.

src/message/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub fn msg_send_fn<R: Any>(obj: *mut Object, _: Sel) -> (Imp, *mut Object) {
88
// Structures 1 or 2 bytes in size are placed in EAX.
99
// Structures 4 or 8 bytes in size are placed in: EAX and EDX.
1010
// Structures of other sizes are placed at the address supplied by the caller.
11-
// https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html
11+
// <https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html>
1212

1313
extern {
1414
fn objc_msgSend();

src/message/x86_64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub fn msg_send_fn<R>(obj: *mut Object, _: Sel) -> (Imp, *mut Object) {
77
// If the size of an object is larger than two eightbytes, it has class MEMORY.
88
// If the type has class MEMORY, then the caller provides space for the return
99
// value and passes the address of this storage.
10-
// http://people.freebsd.org/~obrien/amd64-elf-abi.pdf
10+
// <http://people.freebsd.org/~obrien/amd64-elf-abi.pdf>
1111

1212
extern {
1313
fn objc_msgSend();

src/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! A Rust interface for the functionality of the Objective-C runtime.
22
//!
33
//! For more information on foreign functions, see Apple's documentation:
4-
//! https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html
4+
//! <https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html>
55
66
use std::ffi::{CStr, CString};
77
use std::fmt;

0 commit comments

Comments
 (0)