Skip to content

Commit

Permalink
deploy: 56f5d1f
Browse files Browse the repository at this point in the history
  • Loading branch information
grishasobol committed Nov 27, 2024
1 parent dfc58a2 commit 289303b
Show file tree
Hide file tree
Showing 7,289 changed files with 990,412 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file added pr-4340/.lock
Empty file.
1 change: 1 addition & 0 deletions pr-4340/crates.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pr-4340/galloc/all.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="galloc" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (612a33f20 2024-07-29)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://gear-tech.io/favicons/favicon.ico"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt="logo"></a><h2><a href="../galloc/index.html">galloc</a><span class="version">1.7.0</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#statics">Statics</a></li><li><a href="#traits">Traits</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="prelude/struct.Box.html">prelude::Box</a></li><li><a href="prelude/struct.String.html">prelude::String</a></li><li><a href="prelude/struct.Vec.html">prelude::Vec</a></li><li><a href="prelude/struct.VecDeque.html">prelude::VecDeque</a></li><li><a href="prelude/vec/struct.Drain.html">prelude::vec::Drain</a></li><li><a href="prelude/vec/struct.ExtractIf.html">prelude::vec::ExtractIf</a></li><li><a href="prelude/vec/struct.IntoIter.html">prelude::vec::IntoIter</a></li><li><a href="prelude/vec/struct.Splice.html">prelude::vec::Splice</a></li><li><a href="prelude/vec/struct.Vec.html">prelude::vec::Vec</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="prelude/trait.FromStr.html">prelude::FromStr</a></li><li><a href="prelude/trait.ToOwned.html">prelude::ToOwned</a></li><li><a href="prelude/trait.ToString.html">prelude::ToString</a></li></ul><h3 id="macros">Macros</h3><ul class="all-items"><li><a href="prelude/macro.format.html">prelude::format</a></li><li><a href="prelude/macro.vec.html">prelude::vec</a></li></ul><h3 id="statics">Statics</h3><ul class="all-items"><li><a href="static.ALLOC.html">ALLOC</a></li></ul></section></div></main></body></html>
1 change: 1 addition & 0 deletions pr-4340/galloc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `galloc` crate."><title>galloc - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="galloc" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (612a33f20 2024-07-29)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://gear-tech.io/favicons/favicon.ico"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt="logo"></a><h2><a href="../galloc/index.html">galloc</a><span class="version">1.7.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#statics">Statics</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">galloc</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/galloc/lib.rs.html#19-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="prelude/index.html" title="mod galloc::prelude">prelude</a></div></li></ul><h2 id="statics" class="section-header">Statics<a href="#statics" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="static" href="static.ALLOC.html" title="static galloc::ALLOC">ALLOC</a></div></li></ul></section></div></main></body></html>
2 changes: 2 additions & 0 deletions pr-4340/galloc/prelude/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `prelude` mod in crate `galloc`."><title>galloc::prelude - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="galloc" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (612a33f20 2024-07-29)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://gear-tech.io/favicons/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt="logo"></a><h2><a href="../../galloc/index.html">galloc</a><span class="version">1.7.0</span></h2></div><h2 class="location"><a href="#">Module prelude</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In crate galloc</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">galloc</a>::<wbr><a class="mod" href="#">prelude</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/galloc/prelude.rs.html#19-30">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="vec/index.html" title="mod galloc::prelude::vec">vec</a></div><div class="desc docblock-short">A contiguous growable array type with heap-allocated contents, written
<code>Vec&lt;T&gt;</code>.</div></li></ul><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="macro" href="macro.format.html" title="macro galloc::prelude::format">format</a></div><div class="desc docblock-short">Creates a <code>String</code> using interpolation of runtime expressions.</div></li><li><div class="item-name"><a class="macro" href="macro.vec.html" title="macro galloc::prelude::vec">vec</a></div><div class="desc docblock-short">Creates a <a href="struct.Vec.html" title="struct galloc::prelude::Vec"><code>Vec</code></a> containing the arguments.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Box.html" title="struct galloc::prelude::Box">Box</a></div><div class="desc docblock-short">A pointer type that uniquely owns a heap allocation of type <code>T</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.String.html" title="struct galloc::prelude::String">String</a></div><div class="desc docblock-short">A UTF-8–encoded, growable string.</div></li><li><div class="item-name"><a class="struct" href="struct.Vec.html" title="struct galloc::prelude::Vec">Vec</a></div><div class="desc docblock-short">A contiguous growable array type, written as <code>Vec&lt;T&gt;</code>, short for ‘vector’.</div></li><li><div class="item-name"><a class="struct" href="struct.VecDeque.html" title="struct galloc::prelude::VecDeque">VecDeque</a></div><div class="desc docblock-short">A double-ended queue implemented with a growable ring buffer.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.FromStr.html" title="trait galloc::prelude::FromStr">FromStr</a></div><div class="desc docblock-short">Parse a value from a string</div></li><li><div class="item-name"><a class="trait" href="trait.ToOwned.html" title="trait galloc::prelude::ToOwned">ToOwned</a></div><div class="desc docblock-short">A generalization of <code>Clone</code> to borrowed data.</div></li><li><div class="item-name"><a class="trait" href="trait.ToString.html" title="trait galloc::prelude::ToString">ToString</a></div><div class="desc docblock-short">A trait for converting a value to a <code>String</code>.</div></li></ul></section></div></main></body></html>
11 changes: 11 additions & 0 deletions pr-4340/galloc/prelude/macro.format!.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=macro.format.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.format.html">macro.format.html</a>...</p>
<script>location.replace("macro.format.html" + location.search + location.hash);</script>
</body>
</html>
27 changes: 27 additions & 0 deletions pr-4340/galloc/prelude/macro.format.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Creates a `String` using interpolation of runtime expressions."><title>format in galloc::prelude - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-99073656bbb10eb3.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="galloc" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0-nightly (612a33f20 2024-07-29)" data-channel="nightly" data-search-js="search-ef54e092fea9c776.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-2a506944c89e7bb4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://gear-tech.io/favicons/favicon.ico"></head><body class="rustdoc macro"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../galloc/index.html"><img src="https://docs.gear.rs/logo.svg" alt="logo"></a><h2><a href="../../galloc/index.html">galloc</a><span class="version">1.7.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In galloc::prelude</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Macro <a href="../index.html">galloc</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="macro" href="#">format</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/macros.rs.html#125">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><span class="macro">macro_rules!</span> format {
($(<span class="macro-nonterminal">$arg</span>:tt)<span class="kw-2">*</span>) =&gt; { ... };
}</pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a <code>String</code> using interpolation of runtime expressions.</p>
<p>The first argument <code>format!</code> receives is a format string. This must be a string
literal. The power of the formatting string is in the <code>{}</code>s contained.
Additional parameters passed to <code>format!</code> replace the <code>{}</code>s within the
formatting string in the order given unless named or positional parameters
are used.</p>
<p>See <a href="../std/fmt/index.html">the formatting syntax documentation in <code>std::fmt</code></a>
for details.</p>
<p>A common use for <code>format!</code> is concatenation and interpolation of strings.
The same convention is used with <a href="../std/macro.print.html"><code>print!</code></a> and <a href="https://doc.rust-lang.org/nightly/core/macro.write.html" title="macro core::write"><code>write!</code></a> macros,
depending on the intended destination of the string; all these macros internally use <a href="https://doc.rust-lang.org/nightly/core/macro.format_args.html" title="macro core::format_args"><code>format_args!</code></a>.</p>
<p>To convert a single value to a string, use the <a href="trait.ToString.html" title="trait galloc::prelude::ToString"><code>to_string</code></a> method. This
will use the <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display"><code>Display</code></a> formatting trait.</p>
<p>To concatenate literals into a <code>&amp;'static str</code>, use the <a href="https://doc.rust-lang.org/nightly/core/macro.concat.html" title="macro core::concat"><code>concat!</code></a> macro.</p>
<h2 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h2>
<p><code>format!</code> panics if a formatting trait implementation returns an error.
This indicates an incorrect implementation
since <code>fmt::Write for String</code> never returns an error itself.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">format!</span>(<span class="string">"test"</span>); <span class="comment">// =&gt; "test"
</span><span class="macro">format!</span>(<span class="string">"hello {}"</span>, <span class="string">"world!"</span>); <span class="comment">// =&gt; "hello world!"
</span><span class="macro">format!</span>(<span class="string">"x = {}, y = {val}"</span>, <span class="number">10</span>, val = <span class="number">30</span>); <span class="comment">// =&gt; "x = 10, y = 30"
</span><span class="kw">let </span>(x, y) = (<span class="number">1</span>, <span class="number">2</span>);
<span class="macro">format!</span>(<span class="string">"{x} + {y} = 3"</span>); <span class="comment">// =&gt; "1 + 2 = 3"</span></code></pre></div>
</div></details></section></div></main></body></html>
Loading

0 comments on commit 289303b

Please sign in to comment.