From cdba5ab6fc633606aaa6f95d0825832c3ac6fe5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 8 Feb 2020 20:34:31 +0100 Subject: refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) * rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell --- cli/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/shell.rs') diff --git a/cli/shell.rs b/cli/shell.rs index 268ec3b76..8e52f51fd 100644 --- a/cli/shell.rs +++ b/cli/shell.rs @@ -55,7 +55,7 @@ impl fmt::Debug for Shell { enum ShellOut { /// A plain write object without color support // TODO(ry) Disabling this type of output because it makes Shell - // not thread safe and thus not includable in ThreadSafeState. + // not thread safe and thus not includable in State. // But I think we will want this in the future. //Write(Box), /// Color-enabled stdio, with information on whether color should be used -- cgit v1.2.3