Tracking Issue for trusted_step · Issue #85731 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@jhpratt

Description

@jhpratt

Feature gate: #![feature(trusted_step)]

This is a tracking issue for the the TrustedStep trait. This trait indicates that the implementation of Step upholds all stated invariants, allowing certain optimizations to be made. TrustedLen is automatically implemented for all range types when TrustedStep is implemented.

Public API

// core::iter unsafe trait TrustedStep {}

Steps / History

Unresolved Questions

Blockers