Skip to content

Commit

Permalink
Example code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Aug 16, 2024
1 parent 0f286f0 commit 94c3f6f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tera = "1.3"
futures = "0.3"
opentelemetry = "0.24.0"
opentelemetry-http = "0.13.0"
opentelemetry-otlp = {version = "0.17.0" }
opentelemetry-otlp = "0.17.0"
opentelemetry-prometheus = "0.16.0"
opentelemetry_sdk = "0.24.0"
tokio-stream = "0.1.14"
Expand Down
1 change: 0 additions & 1 deletion examples/affix-state/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::sync::Arc;
use std::sync::Mutex;

use salvo::affix_state;
use salvo::prelude::*;

#[allow(dead_code)]
Expand Down
1 change: 0 additions & 1 deletion examples/db-sea-orm/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::env;

use entity::post;
use migration::{Migrator, MigratorTrait};
use salvo::affix_state;
use salvo::prelude::*;
use salvo::serve_static::StaticDir;
use salvo::writing::Text;
Expand Down

0 comments on commit 94c3f6f

Please sign in to comment.