Upgrade to Rust 1.80 (#12586)

This commit is contained in:
Micha Reiser 2024-07-30 21:18:08 +02:00 committed by GitHub
parent ee103ffb25
commit 138e70bd5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 57 additions and 48 deletions

View file

@ -17,6 +17,7 @@ use crate::{has_skip_comment, prelude::*};
/// > A compound statement consists of one or more clauses. A clause consists of a header and a suite.
/// > The clause headers of a particular compound statement are all at the same indentation level.
/// > Each clause header begins with a uniquely identifying keyword and ends with a colon.
///
/// [source](https://docs.python.org/3/reference/compound_stmts.html#compound-statements)
#[derive(Copy, Clone)]
pub(crate) enum ClauseHeader<'a> {

View file

@ -928,9 +928,9 @@ impl<'src> CodeExampleDoctest<'src> {
/// the same with two main differences:
///
/// 1. Literal blocks are began with a line that ends with `::`. Code block
/// directives are began with a line like `.. code-block:: python`.
/// directives are began with a line like `.. code-block:: python`.
/// 2. Code block directives permit a list of options as a "field list"
/// immediately after the opening line. Literal blocks have no options.
/// immediately after the opening line. Literal blocks have no options.
///
/// Otherwise, everything else, including the indentation structure, is the
/// same.