User avatar
celeste_hearts_lesbianceleste_hearts_transceleste_hearts_demisexual flori_ava_star:~cursor_blinking @star@amazonawaws.com
8mo
If you write code, do you
/// "Valid not after" [`DateTime`]
#[must_use]
pub const fn to(&self) -> &DateTime<Utc> {
    &self.to
}


, or do you
#[must_use]
/// "Valid not after" [`DateTime`]
pub const fn to(&self) -> &DateTime<Utc> {
    &self.to
}


?
neobot
5
0
4
0
User avatar
lis comfytea lesbianthoughts @lis@mk.catgirlsfor.science
8mo
@star if rustfmt doesn't prefer one or the other, does it really matter?
2
0
1
0
User avatar
celeste_hearts_lesbianceleste_hearts_transceleste_hearts_demisexual flori_ava_star:~cursor_blinking @star@amazonawaws.com
8mo
@lis in my personal experience, yes. these directives could be visually separated enough from the function definition by the docs, that you accidentally forget about them
0
0
1
0