Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah partial borrows are not part of the file system, which makes a lot of sense as it would severely leak implementation details.

I regularly get frustrated but I don’t really see an easy alternative, it’s be a lot of work having it work let alone contextually (e.g. from pub functions for pub fields but not for private types / fields), and how would you even express the borrows / holes?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: