fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
This commit is contained in:
parent
da7f1d6c45
commit
fb726197ea
28 changed files with 109 additions and 90 deletions
|
|
@ -46,6 +46,12 @@ struct WhoamiResponse {
|
|||
/// session to call whoami).
|
||||
/// 3. Build the real Client with the sqlite store + `restore_session`
|
||||
/// using a synthetic `MatrixSession`.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// Returns an error if the token file is missing or empty, if the
|
||||
/// `whoami` request fails, or if the matrix-sdk client fails to build
|
||||
/// or restore the session.
|
||||
pub async fn build_and_restore(
|
||||
homeserver: &str,
|
||||
token_file: &Path,
|
||||
|
|
|
|||
Loading…
Reference in a new issue