Rename lifetime Buffer<'a> to Buffer<'surface>#330
Conversation
To make it clearer that the buffer borrows from the surface.
| pub struct Buffer<'a> { | ||
| buffer_impl: BufferDispatch<'a>, | ||
| pub struct Buffer<'surface> { | ||
| buffer_impl: BufferDispatch<'surface>, |
There was a problem hiding this comment.
We can also go with 's if you think 'surface is too verbose?
There was a problem hiding this comment.
No issues with the verbosity here.
|
I thought that we wanted to detach the #222 (comment) appears to be somewhat related, though with the caveat that I'd still let "the |
Yeah, I'm not sure how / if we're going to square that circle, so I did this for now. |
To make it a bit clearer that the buffer borrows from the surface.