Skip to content

Commit f417031

Browse files
authored
Merge pull request containerd#82 from liubin/add-clone-for-context
Add Clone derive for Context
2 parents eef2004 + 2ebfbb8 commit f417031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use crate::ttrpc::KeyValue;
77
use std::collections::HashMap;
88

9-
#[derive(Default, Debug)]
9+
#[derive(Clone, Default, Debug)]
1010
pub struct Context {
1111
pub metadata: HashMap<String, Vec<String>>,
1212
pub timeout_nano: i64,

0 commit comments

Comments
 (0)