mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
[CORE] Fix Doc Tests
This commit is contained in:
parent
3b1c42df2e
commit
7cc08b7453
@ -86,7 +86,8 @@ impl AnalyticsPayload {
|
||||
/// // Time saver is the best mod!
|
||||
/// let config = Config::get(None).unwrap();
|
||||
/// loop {
|
||||
/// send_analytics_event(AnalyticsEventName::ModInstall, "Bwc9876.TimeSaver", &config).await;
|
||||
/// send_analytics_event(AnalyticsEventName::ModInstall, "Bwc9876.TimeSaver",
|
||||
/// !config.send_analytics).await;
|
||||
/// }
|
||||
/// # });
|
||||
///
|
||||
|
||||
@ -510,7 +510,7 @@ impl Drop for ModDeduperGuard {
|
||||
///
|
||||
/// for installed_mod in installed {
|
||||
/// println!("Installed {}", installed_mod.manifest.name);
|
||||
/// send_analytics_event(AnalyticsEventName::ModInstall, &installed_mod.manifest.unique_name, &config).await;
|
||||
/// send_analytics_event(AnalyticsEventName::ModInstall, &installed_mod.manifest.unique_name, !config.send_analytics).await;
|
||||
/// }
|
||||
/// # });
|
||||
/// ```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user