Skip to content

Commit

Permalink
Fix new nightly doc links errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri committed Feb 18, 2025
1 parent 11ddd4e commit 6756c05
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
7 changes: 1 addition & 6 deletions crates/zng-wgt-image/src/image_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ pub fn img_fit(child: impl UiNode, fit: impl IntoVar<ImageFit>) -> impl UiNode {
/// By default not scaling is done.
///
/// [`img_scale_ppi`]: fn@img_scale_ppi
/// [`scale`]: fn@crate::scale
#[property(CONTEXT, default(IMAGE_SCALE_VAR), widget_impl(Image))]
pub fn img_scale(child: impl UiNode, scale: impl IntoVar<Factor2d>) -> impl UiNode {
with_context_var(child, IMAGE_SCALE_VAR, scale)
Expand Down Expand Up @@ -202,8 +201,6 @@ pub fn img_scale_factor(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl
///
/// [`img_crop`]: fn@img_crop
/// [`MONITORS`]: zng_ext_window::MONITORS
///
/// [`scape_ppi`]: fn@crate::scape_ppi
#[property(CONTEXT, default(IMAGE_SCALE_PPI_VAR), widget_impl(Image))]
pub fn img_scale_ppi(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl UiNode {
with_context_var(child, IMAGE_SCALE_PPI_VAR, enabled)
Expand Down Expand Up @@ -251,8 +248,7 @@ pub fn img_offset(child: impl UiNode, offset: impl IntoVar<Vector>) -> impl UiNo
/// By default no cropping is done.
///
/// [`img_scale_ppi`]: #fn@img_scale_ppi
/// [texture atlas]: https://en.wikipedia.org/wiki/Texture_atlas///
/// [`crop`]: fn@crate::crop
/// [texture atlas]: https://en.wikipedia.org/wiki/Texture_atlas
/// [`Rect`]: zng_wgt::prelude::Rect
#[property(CONTEXT, default(IMAGE_CROP_VAR), widget_impl(Image))]
pub fn img_crop(child: impl UiNode, crop: impl IntoVar<Rect>) -> impl UiNode {
Expand Down Expand Up @@ -300,7 +296,6 @@ pub fn img_repeat_spacing(child: impl UiNode, spacing: impl IntoVar<Size>) -> im
///
/// This is [`ImageRendering::Auto`] by default.
///
/// [`rendering`]: fn@crate::rendering
/// [`ImageRendering`]: zng_app::render::ImageRendering
/// [`ImageRendering::Auto`]: zng_app::render::ImageRendering::Auto
#[property(CONTEXT, default(IMAGE_RENDERING_VAR), widget_impl(Image))]
Expand Down
1 change: 0 additions & 1 deletion crates/zng-wgt-image/src/mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ pub fn mask_image_cache(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl
/// If not set or set to `None` the [`IMAGES.limits`] is used.
///
/// [`IMAGES.limits`]: zng_ext_image::IMAGES::limits
/// [`img_downscale`]: fn@img_downscale
#[property(CONTEXT, default(MASK_IMAGE_LIMITS_VAR))]
pub fn mask_image_limits(child: impl UiNode, limits: impl IntoVar<Option<ImageLimits>>) -> impl UiNode {
with_context_var(child, MASK_IMAGE_LIMITS_VAR, limits)
Expand Down
3 changes: 0 additions & 3 deletions crates/zng-wgt-scroll/src/cmd.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//! Commands that control the scoped scroll widget.
//!
//! The scroll widget implements all of this commands scoped to its widget ID.
//!
//! [`ScrollToTopCommand`]: crate::widgets::scroll::cmd::ScrollToTopCommand
//! [`ScrollToLeftmostCommand`]: crate::widgets::scroll::cmd::ScrollToLeftmostCommand
use super::*;
use zng_app::event::{CommandArgs, CommandParam};
Expand Down
2 changes: 0 additions & 2 deletions crates/zng-wgt-toggle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1119,8 +1119,6 @@ pub fn combo_spacing(child: impl UiNode, spacing: impl IntoVar<Length>) -> impl
///
/// [`ComboStyle!`]: struct@ComboStyle
/// [`Popup!`]: struct@zng_wgt_layer::popup::Popup
/// [`LAYERS`]: layers::LAYERS
/// [`POPUP`]: zng_wgt_layer::popup::POPUP
#[property(CHILD, widget_impl(Toggle))]
pub fn checked_popup(child: impl UiNode, popup: impl IntoVar<WidgetFn<()>>) -> impl UiNode {
let popup = popup.into_var();
Expand Down
2 changes: 0 additions & 2 deletions crates/zng-wgt-tooltip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@ pub fn access_tooltip_anchor(child: impl UiNode, mode: impl IntoVar<AnchorMode>)
/// Note that updates to this property do not affect tooltips already open, just subsequent tooltips.
///
/// This property sets the [`TOOLTIP_CONTEXT_CAPTURE_VAR`].
///
/// [`LAYERS`]: crate::window::layers::LAYERS
#[property(CONTEXT, default(TOOLTIP_CONTEXT_CAPTURE_VAR))]
pub fn tooltip_context_capture(child: impl UiNode, capture: impl IntoVar<ContextCapture>) -> impl UiNode {
with_context_var(child, TOOLTIP_CONTEXT_CAPTURE_VAR, capture)
Expand Down

0 comments on commit 6756c05

Please sign in to comment.