From 01322f69a406eee76014f5e2834336e2295ad80e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 25 Nov 2020 07:11:27 +0100 Subject: Use recently stabilized intra-doc links See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md --- web/src/widget/radio.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'web/src/widget/radio.rs') diff --git a/web/src/widget/radio.rs b/web/src/widget/radio.rs index c9d0a00e..5a9bc379 100644 --- a/web/src/widget/radio.rs +++ b/web/src/widget/radio.rs @@ -49,8 +49,6 @@ impl Radio { /// * the current selected value /// * a function that will be called when the [`Radio`] is selected. It /// receives the value of the radio and must produce a `Message`. - /// - /// [`Radio`]: struct.Radio.html pub fn new( value: V, label: impl Into, @@ -72,24 +70,18 @@ impl Radio { } /// Sets the style of the [`Radio`] button. - /// - /// [`Radio`]: struct.Radio.html pub fn style(mut self, style: impl Into>) -> Self { self.style = style.into(); self } /// Sets the name attribute of the [`Radio`] button. - /// - /// [`Radio`]: struct.Radio.html pub fn name(mut self, name: impl Into) -> Self { self.name = Some(name.into()); self } /// Sets the id of the [`Radio`] button. - /// - /// [`Radio`]: struct.Radio.html pub fn id(mut self, id: impl Into) -> Self { self.id = Some(id.into()); self -- cgit