Explorar o código

Fix a typo in test.

Jing Yang %!s(int64=4) %!d(string=hai) anos
pai
achega
42e6e2f83a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/daemon_env.rs

+ 1 - 1
src/daemon_env.rs

@@ -288,7 +288,7 @@ mod tests {
     fn test_for_scope() {
         let daemon_env = DaemonEnv::create();
         let local_env = {
-            let _gurad = daemon_env.for_scope();
+            let _guard = daemon_env.for_scope();
             ThreadEnv::upgrade()
         };
         assert_same_env(local_env, daemon_env);