Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by evertedsphere

2 days ago

no, that's a region variable if i understand correctly, so closer to a rust lifetime

2 comments

evertedsphere

Reply

wk_end  2 days ago

It is, but your reply seems like a non-sequitur. The point OP was making was that it doesn't return an Option or Maybe or anything like that, meaning that there's a failure case untracked by the type system.

  • evertedsphere  2 days ago

    oh, right, i misunderstood

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities