Skip to content

Instantly share code, notes, and snippets.

View GuillaumeGomez's full-sized avatar

Guillaume Gomez GuillaumeGomez

View GitHub Profile

This describes what the documentation subteam tasks would do and what it wouldn't do as well.

Since the documentation team work would cover some parts currently handled by the libs team, it would make more sense to make it a subteam of the libs team.

Tasks of the documentation subteam

The documentation subteam would initially handle the following tasks:

  • Helping with public crates documentation.
  • Maintain documentation guidelines.
const CURRENT_VERSION = "1.61.0";
function checkIfIsOldVersion() {
if (["http:", "https:"].indexOf(window.location.protocol) === -1) {
return;
}
const parts = window.location.pathname.split("/");
return parts.length > 1 && parts[1].indexOf(".") !== -1 && parts[1] !== CURRENT_VERSION;
}
thread 'rustc' panicked at 'aborting after 72 errors due to `-Z treat-err-as-bug=1`', compiler/rustc_errors/src/lib.rs:1395:36
stack backtrace:
0: rust_begin_unwind
at ./library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at ./library/core/src/panicking.rs:142:14
2: <rustc_errors::HandlerInner>::panic_if_treat_err_as_bug
3: <rustc_errors::HandlerInner>::emit_diagnostic
4: <rustc_errors::Handler>::emit_diagnostic
at ./compiler/rustc_errors/src/lib.rs:962:9
function jump_version() {
if (window.location.protocol === "file:" || window.location.host !== "doc.rust-lang.org") {
return;
}
var version = window.location.path.split("/")[0];
if (version === "std") {
version = "stable";
}
var pick_version = document.createElement("select");
for (var i = 0; i < VERSIONS.length; ++i) {
error[E0308]: mismatched types
--> src/auto/functions.rs:173:32
|
173 | ffi::g_child_watch_add(pid, function, Box::into_raw(super_callback0) as *mut _)
| ^^^ expected i32, found struct `source::Pid`
|
= note: expected type `i32`
found type `source::Pid`
error[E0277]: the trait bound `i32: translate::Ptr` is not satisfied
error: missing documentation for macro=============================> ] 26/27: std
--> src/libstd/macros.rs:339:1
|
339 | macro_rules! await {
| ^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> src/libstd/lib.rs:224:9
|
224 | #![deny(missing_docs)]
> otool -L target/release/workshop
target/release/workshop:
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.40.112)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1452.23.0)
/usr/local/opt/gtk+3/lib/libgtk-3.0.dylib (compatibility version 2201.0.0, current version 2201.30.0)
/usr/local/opt/gtk+3/lib/libgdk-3.0.dylib (compatibility version 2201.0.0, current version 2201.30.0)
/usr/local/opt/pango/lib/libpangocairo-1.0.0.dylib (compatibility version 4201.0.0, current version 4201.4.0)
/usr/local/opt/pango/lib/libpango-1.0.0.dylib (compatibility version 4201.0.0, current version 4201.4.0)
/usr/local/opt/atk/lib/libatk-1.0.0.dylib (compatibility version 22811.0.0, current version 22811.1.0)
/usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
> gst-inspect-1.0 queue
Factory Details:
Rank none (0)
Long-name Queue
Klass Generic
Description Simple data queue
Author Erik Walthinsen <omega@cse.ogi.edu>
Plugin Details:
Name coreelements
> gst-inspect-1.0
osxaudio: osxaudiosink: Audio Sink (OSX)
osxaudio: osxaudiosrc: Audio Source (OSX)
osxaudio: osxaudiodeviceprovider (GstDeviceProviderFactory)
replaygain: rganalysis: ReplayGain analysis
replaygain: rglimiter: ReplayGain limiter
replaygain: rgvolume: ReplayGain volume
rawparse: unalignedaudioparse: unalignedaudioparse
rawparse: unalignedvideoparse: unalignedvideoparse
rawparse: rawaudioparse: rawaudioparse
Item {
source: Span {
filename: Real("src/lib.rs"),
loline: 1,
locol: 0,
hiline: 2,
hicol: 23
},
name: Some(""),
attrs: Attributes {