Skip to content

issues Search Results · repo:danielhenrymantilla/lending-iterator.rs language:Rust

Filter by

10 results
 (104 ms)

10 results

indanielhenrymantilla/lending-iterator.rs (press backspace or delete to remove)

It seems like filter_map stops after the first None. For example: use ::lending_iterator::prelude::*; fn main() { let array = [0, 1, 2, 3, 4, 5, 6]; for m in array.iter().filter_map(|n| (n ...
bug
  • jonathan-conder
  • Opened 
    on Mar 9, 2024
  • #17

I m trying to slim down my dependency tree, and this crate (along with nougat and ext-trait, that you also maintain and that lending-iterator depends on) are the remaining users of syn 1.x in my dependency ...
enhancement
  • VorpalBlade
  • Opened 
    on Dec 25, 2023
  • #15

I currently have a use-case where I would like to iterate over mutable windows in reverse. Would it be possible to implement .rev() for LendingIterator? In case you say e.g. a Vec already provides reverse, ...
  • fritzrehde
  • Opened 
    on Dec 9, 2023
  • #14

This code won t compile: #[::nougat::gat] impl I: GraphIterator LendingIterator for Adapter I { type Item a = (usize, I as GraphIterator ::Successors a ) where Self: a; fn next( mut ...
bug
  • vigna
  • 10
  • Opened 
    on Sep 24, 2023
  • #13

I have the following dependency in my Cargo.toml: lending-iterator = { version = 0.1.6 , default-features = false } When I run cargo doc all the dependencies docs are built (not just my own crate). ...
bug
  • VorpalBlade
  • 1
  • Opened 
    on Mar 31, 2023
  • #11

If I understand correctly, the release of Rust 1.65 should make it possible to implement lending iterators without workarounds. The release notes even use lending iterators as an example of what s possible ...
question
  • fkohlgrueber
  • 7
  • Opened 
    on Nov 14, 2022
  • #10

The README describes how to implement anonymous implementations of LendingIterator. Would it be possible to expand a bit and demo how to implement a non-anonymous version? I.e. given struct ItemRef ...
  • jorgecarleitao
  • 2
  • Opened 
    on Sep 23, 2022
  • #9

The docmentation seems to indicate that there will be one example using from_fn and another using FromFn struct to construct the LendingIterator, however it only gives an example with FromFn...
  • Ben-Lichtman
  • Opened 
    on Aug 3, 2022
  • #6

This crate (and also similarly polonius-the-crab) work with a pub trait HKT where Self: for any WithLifetime any , { } pub trait WithLifetime lt { type T; } trait, and dyn for a WithLifetime ...
bug
question
  • steffahn
  • 2
  • Opened 
    on Aug 1, 2022
  • #5

Hey there, awesome package! I have a quick question about the MSRV. I m following the docs to impl LendingIterator for my own type, where in the docs it mentions: trait LendingIterator { type Item ...
  • kiranshila
  • 2
  • Opened 
    on Jul 27, 2022
  • #4
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub