Explorar el Código

Fix a typo in test.

Jing Yang hace 4 años
padre
commit
42e6e2f83a
Se han modificado 1 ficheros con 1 adiciones y 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);