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
lis comfytea lesbianthoughts @lis@mk.catgirlsfor.science
8mo
@star lawful evil: sort attributes alphabetically, treating /// comment like #[doc(…)], since it's just syntactic sugar anyway
1
0
1
0
User avatar
celeste_hearts_lesbianceleste_hearts_transceleste_hearts_demisexual flori_ava_star:~cursor_blinking @star@amazonawaws.com
8mo
@lis omg this is perfect

thank you so much. i will torment my coworkers with this /hj
0
0
2
0