@@ -40,13 +40,13 @@ use ruma::{
4040 request_3pid_management_token_via_email, request_3pid_management_token_via_msisdn,
4141 } ,
4242 config:: { get_global_account_data, set_global_account_data} ,
43- error:: ErrorKind ,
4443 profile:: {
4544 DisplayName , StaticProfileField , delete_profile_field, get_avatar_url, get_profile,
4645 get_profile_field, set_avatar_url, set_display_name, set_profile_field,
4746 } ,
4847 uiaa:: AuthData ,
4948 } ,
49+ error:: ErrorKind ,
5050 } ,
5151 assign,
5252 events:: {
@@ -379,7 +379,7 @@ impl Account {
379379 /// response, which would result in `Ok(None)`. Note that this error code
380380 /// might also mean that the given user ID doesn't exist.
381381 ///
382- /// [`ErrorCode::NotFound`]: ruma::api::client:: error::ErrorCode::NotFound
382+ /// [`ErrorCode::NotFound`]: ruma::api::error::ErrorCode::NotFound
383383 pub async fn fetch_profile_field_of (
384384 & self ,
385385 user_id : OwnedUserId ,
@@ -411,7 +411,7 @@ impl Account {
411411 /// response, which would result in `Ok(None)`. Note that this error code
412412 /// might also mean that the given user ID doesn't exist.
413413 ///
414- /// [`ErrorCode::NotFound`]: ruma::api::client:: error::ErrorCode::NotFound
414+ /// [`ErrorCode::NotFound`]: ruma::api::error::ErrorCode::NotFound
415415 pub async fn fetch_profile_field_of_static < F > (
416416 & self ,
417417 user_id : OwnedUserId ,
@@ -517,7 +517,7 @@ impl Account {
517517 /// ```
518518 /// [uiaa]: https://spec.matrix.org/v1.2/client-server-api/#user-interactive-authentication-api
519519 /// [`UiaaResponse`]: ruma::api::client::uiaa::UiaaResponse
520- /// [`ErrorKind::WeakPassword`]: ruma::api::client:: error::ErrorKind::WeakPassword
520+ /// [`ErrorKind::WeakPassword`]: ruma::api::error::ErrorKind::WeakPassword
521521 pub async fn change_password (
522522 & self ,
523523 new_password : & str ,
@@ -668,8 +668,8 @@ impl Account {
668668 /// # anyhow::Ok(()) };
669669 /// ```
670670 /// [3pid]: https://spec.matrix.org/v1.2/appendices/#3pid-types
671- /// [`ErrorKind::ThreepidInUse`]: ruma::api::client:: error::ErrorKind::ThreepidInUse
672- /// [`ErrorKind::ThreepidDenied`]: ruma::api::client:: error::ErrorKind::ThreepidDenied
671+ /// [`ErrorKind::ThreepidInUse`]: ruma::api::error::ErrorKind::ThreepidInUse
672+ /// [`ErrorKind::ThreepidDenied`]: ruma::api::error::ErrorKind::ThreepidDenied
673673 pub async fn request_3pid_email_token (
674674 & self ,
675675 client_secret : & ClientSecret ,
@@ -743,8 +743,8 @@ impl Account {
743743 /// # anyhow::Ok(()) };
744744 /// ```
745745 /// [3pid]: https://spec.matrix.org/v1.2/appendices/#3pid-types
746- /// [`ErrorKind::ThreepidInUse`]: ruma::api::client:: error::ErrorKind::ThreepidInUse
747- /// [`ErrorKind::ThreepidDenied`]: ruma::api::client:: error::ErrorKind::ThreepidDenied
746+ /// [`ErrorKind::ThreepidInUse`]: ruma::api::error::ErrorKind::ThreepidInUse
747+ /// [`ErrorKind::ThreepidDenied`]: ruma::api::error::ErrorKind::ThreepidDenied
748748 pub async fn request_3pid_msisdn_token (
749749 & self ,
750750 client_secret : & ClientSecret ,
0 commit comments