Skip to content

Commit e805d2a

Browse files
committed
fix picture width
1 parent 0e4883d commit e805d2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tip_of_the_day_4.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ <h1>Tip of the day #4: Type annotations on Rust match patterns</h1>
214214
| ^^^^^^^^ expected `bool`, found `TryFromSliceError`
215215
</code></pre>
216216
<p>So...it <em>does</em> actually know the type of <code>err</code>... You naughty compiler, playing games with me! It reminds me of this picture:</p>
217-
<p><img style="height:50rem" src="coffee_or_tea.png" alt="Coffee or tea?">Coffee or tea?</p>
217+
<p><img style="max-width: 50%; margin: 0 auto; display: block" src="coffee_or_tea.png" alt="Coffee or tea?">Coffee or tea?</p>
218218
<p><a href="/blog"> ⏴ Back to all articles</a></p>
219219

220220
<blockquote id="donate">

tip_of_the_day_4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,4 @@ error[E0271]: type mismatch resolving `<[u8; 33] as TryFrom<&[u8]>>::Error == bo
190190

191191
So...it *does* actually know the type of `err`... You naughty compiler, playing games with me! It reminds me of this picture:
192192

193-
<img style="height:50rem" src="coffee_or_tea.png" alt="Coffee or tea?">Coffee or tea?
193+
<img style="max-width: 50%; margin: 0 auto; display: block" src="coffee_or_tea.png" alt="Coffee or tea?">Coffee or tea?

0 commit comments

Comments
 (0)