Skip to content

Commit

Permalink
deploy: a5cec84
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfcyx committed Jun 30, 2024
1 parent 978aa97 commit be4253a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch9/src/os/mm/memory_set.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
</span><span class="kw">pub fn </span>push(<span class="kw-2">&amp;mut </span><span class="self">self</span>, <span class="kw-2">mut </span>map_area: MapArea, data: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>[u8]&gt;) {
map_area.map(<span class="kw-2">&amp;mut </span><span class="self">self</span>.page_table);
<span class="kw">if let </span><span class="prelude-val">Some</span>(data) = data {
map_area.copy_data(<span class="kw-2">&amp;mut </span><span class="self">self</span>.page_table, data);
map_area.copy_data(<span class="kw-2">&amp;</span><span class="self">self</span>.page_table, data);
}
<span class="self">self</span>.areas.push(map_area);
}
Expand Down

0 comments on commit be4253a

Please sign in to comment.