Fix connection string
This commit is contained in:
Родитель
bc9ac6ca11
Коммит
89052f48e4
|
@ -775,7 +775,7 @@ impl ConnectionString {
|
|||
/// use std::sync::Arc;
|
||||
/// use azure_kusto_data::prelude::{ConnectionString, ConnectionStringAuth};
|
||||
///
|
||||
/// let conn = ConnectionString::with_token_callback_auth("https://mycluster.kusto.windows.net", Arc::new(|resource_uri| resource_uri.to_string()), None);
|
||||
/// let conn = ConnectionString::with_token_callback_auth("https://mycluster.kusto.windows.net", Arc::new(|scopes| scopes[0].to_string()), None);
|
||||
///
|
||||
/// assert_eq!(conn.data_source, "https://mycluster.kusto.windows.net".to_string());
|
||||
/// assert!(matches!(conn.auth, ConnectionStringAuth::TokenCallback { .. }));
|
||||
|
|
Загрузка…
Ссылка в новой задаче