Skip to content

Commit

Permalink
Site updated: 2024-10-29 12:12:12
Browse files Browse the repository at this point in the history
  • Loading branch information
imlpc88 committed Oct 29, 2024
1 parent b6fdd1f commit 4437de2
Show file tree
Hide file tree
Showing 6 changed files with 335 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 2024/10/29/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ <h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerl
</div>


<nav id="article-nav">

<a href="/2024/10/29/rust-vec-for-iter/" id="article-nav-newer" class="article-nav-link-wrap">
<strong class="article-nav-caption">Newer</strong>
<div class="article-nav-title">

rust-vec-for-iter

</div>
</a>


</nav>


</article>

Expand Down Expand Up @@ -150,6 +164,10 @@ <h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>

<li>
<a href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</li>

<li>
<a href="/2024/10/29/hello-world/">Hello World</a>
</li>
Expand Down
206 changes: 206 additions & 0 deletions 2024/10/29/rust-vec-for-iter/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">


<title>rust-vec-for-iter | Hexo</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Rust 中 Vec 类型遍历的两种方式,有什么不同,分别应用在什么场景?12for i in v &#123;&#125;for i in &amp;v &#123;&#125;">
<meta property="og:type" content="article">
<meta property="og:title" content="rust-vec-for-iter">
<meta property="og:url" content="http://example.com/2024/10/29/rust-vec-for-iter/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="Rust 中 Vec 类型遍历的两种方式,有什么不同,分别应用在什么场景?12for i in v &#123;&#125;for i in &amp;v &#123;&#125;">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2024-10-29T04:10:13.000Z">
<meta property="article:modified_time" content="2024-10-29T04:11:42.353Z">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">

<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">


<link rel="shortcut icon" href="/favicon.png">



<link rel="stylesheet" href="/css/style.css">



<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">



<meta name="generator" content="Hexo 7.3.0"></head>

<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">Hexo</a>
</h1>

</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>

<a class="main-nav-link" href="/">Home</a>

<a class="main-nav-link" href="/archives">Archives</a>

</nav>
<nav id="sub-nav">


<a class="nav-icon" href="/atom.xml" title="RSS Feed"><span class="fa fa-rss"></span></a>

<a class="nav-icon nav-search-btn" title="Search"><span class="fa fa-search"></span></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://example.com"></form>
</div>
</div>
</div>
</header>

<div class="outer">
<section id="main"><article id="post-rust-vec-for-iter" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2024/10/29/rust-vec-for-iter/" class="article-date">
<time class="dt-published" datetime="2024-10-29T04:10:13.000Z" itemprop="datePublished">2024-10-29</time>
</a>

</div>
<div class="article-inner">


<header class="article-header">


<h1 class="p-name article-title" itemprop="headline name">
rust-vec-for-iter
</h1>


</header>

<div class="e-content article-entry" itemprop="articleBody">

<h1 id="Rust-中-Vec-类型遍历的两种方式,有什么不同,分别应用在什么场景?"><a href="#Rust-中-Vec-类型遍历的两种方式,有什么不同,分别应用在什么场景?" class="headerlink" title="Rust 中 Vec 类型遍历的两种方式,有什么不同,分别应用在什么场景?"></a>Rust 中 Vec 类型遍历的两种方式,有什么不同,分别应用在什么场景?</h1><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">for i in v &#123;&#125;</span><br><span class="line">for i in &amp;v &#123;&#125;</span><br></pre></td></tr></table></figure>

</div>
<footer class="article-footer">
<a data-url="http://example.com/2024/10/29/rust-vec-for-iter/" data-id="cm2txlkdv0000rwnm2jlwhret" data-title="rust-vec-for-iter" class="article-share-link"><span class="fa fa-share">Share</span></a>



</footer>
</div>


<nav id="article-nav">


<a href="/2024/10/29/hello-world/" id="article-nav-older" class="article-nav-link-wrap">
<strong class="article-nav-caption">Older</strong>
<div class="article-nav-title">Hello World</div>
</a>

</nav>


</article>


</section>

<aside id="sidebar">










<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2024/10/">October 2024</a></li></ul>
</div>
</div>




<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>

<li>
<a href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</li>

<li>
<a href="/2024/10/29/hello-world/">Hello World</a>
</li>

</ul>
</div>
</div>


</aside>

</div>
<footer id="footer">

<div class="outer">
<div id="footer-info" class="inner">

&copy; 2024 John Doe<br>
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>

</div>
<nav id="mobile-nav">

<a href="/" class="mobile-nav-link">Home</a>

<a href="/archives" class="mobile-nav-link">Archives</a>

</nav>



<script src="/js/jquery-3.6.4.min.js"></script>




<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





</div>
</body>
</html>
23 changes: 23 additions & 0 deletions archives/2024/10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,25 @@ <h1 id="logo-wrap">
</div>
<div class="archives">

<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<a href="/2024/10/29/rust-vec-for-iter/" class="archive-article-date">
<time class="dt-published" datetime="2024-10-29T04:10:13.000Z" itemprop="datePublished">Oct 29</time>
</a>


<h1 itemprop="name">
<a class="archive-article-title" href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</h1>


</header>
</div>
</article>



<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
Expand Down Expand Up @@ -130,6 +149,10 @@ <h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>

<li>
<a href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</li>

<li>
<a href="/2024/10/29/hello-world/">Hello World</a>
</li>
Expand Down
23 changes: 23 additions & 0 deletions archives/2024/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,25 @@ <h1 id="logo-wrap">
</div>
<div class="archives">

<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<a href="/2024/10/29/rust-vec-for-iter/" class="archive-article-date">
<time class="dt-published" datetime="2024-10-29T04:10:13.000Z" itemprop="datePublished">Oct 29</time>
</a>


<h1 itemprop="name">
<a class="archive-article-title" href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</h1>


</header>
</div>
</article>



<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
Expand Down Expand Up @@ -130,6 +149,10 @@ <h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>

<li>
<a href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</li>

<li>
<a href="/2024/10/29/hello-world/">Hello World</a>
</li>
Expand Down
23 changes: 23 additions & 0 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,25 @@ <h1 id="logo-wrap">
</div>
<div class="archives">

<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
<a href="/2024/10/29/rust-vec-for-iter/" class="archive-article-date">
<time class="dt-published" datetime="2024-10-29T04:10:13.000Z" itemprop="datePublished">Oct 29</time>
</a>


<h1 itemprop="name">
<a class="archive-article-title" href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</h1>


</header>
</div>
</article>



<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<header class="archive-article-header">
Expand Down Expand Up @@ -130,6 +149,10 @@ <h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>

<li>
<a href="/2024/10/29/rust-vec-for-iter/">rust-vec-for-iter</a>
</li>

<li>
<a href="/2024/10/29/hello-world/">Hello World</a>
</li>
Expand Down
Loading

0 comments on commit 4437de2

Please sign in to comment.