Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Nov 6, 2023
1 parent c5596db commit 28f87df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mirrord/config/src/feature/copy_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ use crate::{
/// Default value for [`CopyTargetFileConfig::enabled`] when deserializing.
/// This way in [`MirrordConfig::generate_config`] we can make distinction between following two
/// cases:
/// 1. `{ "features": {} }` - copy target is disabled, we get `enabled: false` from [`Default`] implemetation.
/// 2. `{ "features": { "copy_target": {} } }` - copy target is enabled, we get `enabled: true` from this function.
/// 1. `{ "features": {} }` - copy target is disabled, we get `enabled: false` from [`Default`]
/// implemetation.
/// 2. `{ "features": { "copy_target": {} } }` - copy target is enabled, we get `enabled: true` from
/// this function.
fn copy_target_enabled_default() -> bool {
true
}
Expand Down

0 comments on commit 28f87df

Please sign in to comment.