Skip to content

Commit 0d07479

Browse files
AzrenbethAzrenbeth
authored andcommitted
removed commented out checks in config::new()
1 parent 605e849 commit 0d07479

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,14 +449,6 @@ impl Config {
449449
transactions: bool,
450450
level_sizes: String,
451451
) -> Result<Config, String> {
452-
// if db_url.is_empty() {
453-
// return Err("A database URL is required".to_string());
454-
// }
455-
456-
// if room_id.is_empty() {
457-
// return Err("room_id is required".to_string());
458-
// }
459-
460452
let mut output: Option<File> = None;
461453
if let Some(file) = output_file {
462454
output = match File::create(file) {

0 commit comments

Comments
 (0)