summaryrefslogtreecommitdiff
path: root/cli/shell.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-08 20:34:31 +0100
committerGitHub <noreply@github.com>2020-02-08 20:34:31 +0100
commitcdba5ab6fc633606aaa6f95d0825832c3ac6fe5c (patch)
treee8dee2801e14b65b2da6aca62e39cd3d3ac2a786 /cli/shell.rs
parent619a24390ff15d5ea5e577a4d0391823f94e8592 (diff)
refactor: rename ThreadSafeState, use RefCell for mutable state (#3931)
* rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell
Diffstat (limited to 'cli/shell.rs')
-rw-r--r--cli/shell.rs2
1 files changed, 1 insertions, 1 deletions
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<dyn Write>),
/// Color-enabled stdio, with information on whether color should be used