Correct typos · rust-lang/rust@2ecc820 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -111,8 +111,8 @@ pub struct Env {
111 111 iter: vec::IntoIter<(OsString, OsString)>,
112 112 }
113 113
114 -impl !Send for Args {}
115 -impl !Sync for Args {}
114 +impl !Send for Env {}
115 +impl !Sync for Env {}
116 116
117 117 impl Iterator for Env {
118 118 type Item = (OsString, OsString);
Original file line number Diff line number Diff line change
@@ -130,8 +130,8 @@ pub struct Env {
130 130 iter: vec::IntoIter<(OsString, OsString)>,
131 131 }
132 132
133 -impl !Send for Args {}
134 -impl !Sync for Args {}
133 +impl !Send for Env {}
134 +impl !Sync for Env {}
135 135
136 136 impl Iterator for Env {
137 137 type Item = (OsString, OsString);