From 75b93217caa795e5764c165b01123ff91e3d9e0b Mon Sep 17 00:00:00 2001 From: Eric Cochran Date: Thu, 11 Jan 2018 15:15:01 -0800 Subject: [PATCH] Fix ThreadLocalUsage documentation formatting. Fixes #897 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181668862 --- docs/bugpattern/ThreadLocalUsage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/bugpattern/ThreadLocalUsage.md b/docs/bugpattern/ThreadLocalUsage.md index a73f1ef4c9f..9c315f6c24f 100644 --- a/docs/bugpattern/ThreadLocalUsage.md +++ b/docs/bugpattern/ThreadLocalUsage.md @@ -1,8 +1,8 @@ `ThreadLocal`s should be stored in `static` variables to avoid memory leaks. If -a `ThreadLocal` is stored in an instance (non-static) variable, there will be `M -* N` instances of the `ThreadLocal` value where `M` is the number of threads, -and `N` is the number of instances of the containing class. Each instance may -remain live as long the thread that stored it stays live. +a `ThreadLocal` is stored in an instance (non-static) variable, there will be +M \* N instances of the `ThreadLocal` value where `M` is the number +of threads, and `N` is the number of instances of the containing class. Each +instance may remain live as long the thread that stored it stays live. Example: