lemmy/server/src/api
Lyra 16b687de3a Introduce the "MaybeOptional" trait.
This trait is a generic type that allows us to get an Option from any type and from another option. It can be used to remove the ugly "do_something", "do_something_optional" that we previously had.
2019-12-11 00:10:39 +01:00
..
comment.rs Switching to shorthands for rust params. 2019-12-09 11:08:19 -08:00
community.rs Introduce the "MaybeOptional" trait. 2019-12-11 00:10:39 +01:00
mod.rs Switching to shorthands for rust params. 2019-12-09 11:08:19 -08:00
post.rs Introduce the "MaybeOptional" trait. 2019-12-11 00:10:39 +01:00
site.rs Introduce the "MaybeOptional" trait. 2019-12-11 00:10:39 +01:00
user.rs Introduce the "MaybeOptional" trait. 2019-12-11 00:10:39 +01:00