rust/tests/rustdoc/intra-doc/primitive-non-default-impl.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1.4 KiB
Rust
Raw Normal View History

#![deny(rustdoc::broken_intra_doc_links)]
2020-08-17 18:42:39 -05:00
//@ has primitive_non_default_impl/fn.str_methods.html
2020-08-17 18:42:39 -05:00
/// [`str::trim`]
//@ has - '//*[@href="{{channel}}/std/primitive.str.html#method.trim"]' 'str::trim'
2020-08-17 18:42:39 -05:00
/// [`str::to_lowercase`]
//@ has - '//*[@href="{{channel}}/std/primitive.str.html#method.to_lowercase"]' 'str::to_lowercase'
2020-08-17 18:42:39 -05:00
/// [`str::into_boxed_bytes`]
//@ has - '//*[@href="{{channel}}/std/primitive.str.html#method.into_boxed_bytes"]' 'str::into_boxed_bytes'
2020-08-17 18:42:39 -05:00
/// [`str::replace`]
//@ has - '//*[@href="{{channel}}/std/primitive.str.html#method.replace"]' 'str::replace'
2020-08-19 09:35:56 -05:00
pub fn str_methods() {}
//@ has primitive_non_default_impl/fn.f32_methods.html
2020-08-19 09:35:56 -05:00
/// [f32::powi]
//@ has - '//*[@href="{{channel}}/std/primitive.f32.html#method.powi"]' 'f32::powi'
2020-08-19 09:35:56 -05:00
/// [f32::sqrt]
//@ has - '//*[@href="{{channel}}/std/primitive.f32.html#method.sqrt"]' 'f32::sqrt'
2020-08-19 09:35:56 -05:00
/// [f32::mul_add]
//@ has - '//*[@href="{{channel}}/std/primitive.f32.html#method.mul_add"]' 'f32::mul_add'
2020-08-19 09:35:56 -05:00
pub fn f32_methods() {}
//@ has primitive_non_default_impl/fn.f64_methods.html
2020-08-19 09:35:56 -05:00
/// [`f64::powi`]
//@ has - '//*[@href="{{channel}}/std/primitive.f64.html#method.powi"]' 'f64::powi'
2020-08-19 09:35:56 -05:00
/// [`f64::sqrt`]
//@ has - '//*[@href="{{channel}}/std/primitive.f64.html#method.sqrt"]' 'f64::sqrt'
2020-08-19 09:35:56 -05:00
/// [`f64::mul_add`]
//@ has - '//*[@href="{{channel}}/std/primitive.f64.html#method.mul_add"]' 'f64::mul_add'
2020-08-19 09:35:56 -05:00
pub fn f64_methods() {}