Skip to content

Remove `AsFileId`

Artem Starikov requested to merge remove-AsFileId into v0.7

Taking &impl AsFileId<'_> in get_file doesn't play well with owned values, as this trait prevents passing owning file::Ids, as well as structs that implement AsFileId, and it's also impossible to take impl AsFileId without reference. All just to save typing the extra .file_id characters when calling get_file — it's just not worth that while one can pass the file ID directly.

Merge request reports