Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for range_into_bounds #136903

Open
2 of 4 tasks
pitaj opened this issue Feb 12, 2025 · 0 comments
Open
2 of 4 tasks

Tracking Issue for range_into_bounds #136903

pitaj opened this issue Feb 12, 2025 · 0 comments
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@pitaj
Copy link
Contributor

pitaj commented Feb 12, 2025

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<T>, Bound<T>);
}

impl<T> IntoBounds<T> for Range<T>
impl<T> IntoBounds<T> for RangeFrom<T>
impl<T> IntoBounds<T> for RangeFull
impl<T> IntoBounds<T> for RangeInclusive<T>
impl<T> IntoBounds<T> for RangeTo<T>
impl<T> IntoBounds<T> for RangeToInclusive<T>

Steps / History

Unresolved Questions

  • None yet.

Footnotes

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

@pitaj pitaj added C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Feb 12, 2025
pitaj added a commit to pitaj/rust that referenced this issue Feb 12, 2025
for `range_into_bounds`  feature, rust-lang#136903
pitaj added a commit to pitaj/rust that referenced this issue Feb 12, 2025
for `range_into_bounds`  feature, rust-lang#136903
pitaj added a commit to pitaj/rust that referenced this issue Feb 13, 2025
for `range_into_bounds`  feature, rust-lang#136903
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Feb 14, 2025
add `IntoBounds` trait

for `range_into_bounds`  feature

Tracking issue: rust-lang#136903
ACP: rust-lang/libs-team#538
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Feb 14, 2025
add `IntoBounds` trait

for `range_into_bounds`  feature

Tracking issue: rust-lang#136903
ACP: rust-lang/libs-team#538
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 14, 2025
Rollup merge of rust-lang#136904 - pitaj:range-into_bounds, r=tgross35

add `IntoBounds` trait

for `range_into_bounds`  feature

Tracking issue: rust-lang#136903
ACP: rust-lang/libs-team#538
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this issue Feb 22, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to carolynzech/rust that referenced this issue Feb 22, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this issue Feb 22, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this issue Feb 22, 2025
for `range_into_bounds`  feature, rust-lang#136903
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 27, 2025
…ct, r=ibraheemdev

add `IntoBounds::intersect` and `RangeBounds::is_empty`

- ACP: rust-lang/libs-team#539
- Tracking issue for `is_empty`: rust-lang#137300
- Tracking issue for `IntoBounds`: rust-lang#136903
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 27, 2025
…ct, r=ibraheemdev

add `IntoBounds::intersect` and `RangeBounds::is_empty`

- ACP: rust-lang/libs-team#539
- Tracking issue for `is_empty`: rust-lang#137300
- Tracking issue for `IntoBounds`: rust-lang#136903
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 27, 2025
…ct, r=ibraheemdev

add `IntoBounds::intersect` and `RangeBounds::is_empty`

- ACP: rust-lang/libs-team#539
- Tracking issue for `is_empty`: rust-lang#137300
- Tracking issue for `IntoBounds`: rust-lang#136903
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 28, 2025
Rollup merge of rust-lang#137304 - pitaj:rangebounds-is_empty-intersect, r=ibraheemdev

add `IntoBounds::intersect` and `RangeBounds::is_empty`

- ACP: rust-lang/libs-team#539
- Tracking issue for `is_empty`: rust-lang#137300
- Tracking issue for `IntoBounds`: rust-lang#136903
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this issue Mar 3, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this issue Mar 4, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this issue Mar 6, 2025
for `range_into_bounds`  feature, rust-lang#136903
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this issue Mar 6, 2025
for `range_into_bounds`  feature, rust-lang#136903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant