Skip to content

Commit

Permalink
fds
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Aug 5, 2024
1 parent 522b230 commit 9c8bb4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wtx-docs/src/database/schema-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ The library gives freedom to arrange groups and uses some external crates, bring
extern crate tokio;
extern crate wtx;
use wtx::{database::{schema_manager::Commands, DEFAULT_URI_VAR}, rng::StaticRng};
use std::path::Path;
use wtx::database::{schema_manager::Commands, DEFAULT_URI_VAR};
#[tokio::main]
async fn main() {
Expand Down
4 changes: 2 additions & 2 deletions wtx-docs/src/http2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ use wtx::{
http::{Method, Request, ReqResBuffer},
http2::{Http2Buffer, Http2ErrorCode, Http2Params, Http2Tokio},
misc::{from_utf8_basic, UriRef},
rng::StaticRng,
rng::NoStdRng,
};
use std::net::ToSocketAddrs;
use tokio::net::TcpStream;
async fn client() {
let uri = UriRef::new("127.0.0.1:9000");
let mut http2 = Http2Tokio::connect(
Http2Buffer::new(StaticRng::default()),
Http2Buffer::new(NoStdRng::default()),
Http2Params::default(),
TcpStream::connect(uri.host().to_socket_addrs().unwrap().next().unwrap()).await.unwrap(),
)
Expand Down

0 comments on commit 9c8bb4e

Please sign in to comment.