mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 00:44:55 +03:00
Remove unnecessary Box.
This commit is contained in:
parent
27192bc510
commit
3f5316d5f9
@ -50,7 +50,7 @@ use crate::util::path::ContextDir;
|
||||
#[derive(Debug)]
|
||||
pub struct Client {
|
||||
/// The handle to libcurl binding
|
||||
handle: Box<easy::Easy>,
|
||||
handle: easy::Easy,
|
||||
/// Current State
|
||||
state: ClientState,
|
||||
/// HTTP version support
|
||||
@ -89,7 +89,7 @@ impl Client {
|
||||
let handle = easy::Easy::new();
|
||||
let version = Version::get();
|
||||
Client {
|
||||
handle: Box::new(handle),
|
||||
handle,
|
||||
state: ClientState::default(),
|
||||
http2: version.feature_http2(),
|
||||
http3: version.feature_http3(),
|
||||
|
Loading…
Reference in New Issue
Block a user