Tracking Issue for range_into_bounds · Issue #136903 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@pitaj

Description

@pitaj

Feature gate: #![feature(range_into_bounds)]

This is a tracking issue for the IntoBounds trait.

Public API

// core::ops

pub trait IntoBounds<T: Sized> { fn into_bounds(self) -> (Bound, Bound); }

impl IntoBounds for Range impl IntoBounds for RangeFrom impl IntoBounds for RangeFull impl IntoBounds for RangeInclusive impl IntoBounds for RangeTo impl IntoBounds for RangeToInclusive

Steps / History

Unresolved Questions

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html