Fix rustdoc warnings

pull/573/head
Wilfred Hughes 2023-09-12 12:21:43 +07:00
parent f3ba79f34d
commit 8731a1b908
3 changed files with 3 additions and 3 deletions

@ -1,6 +1,6 @@
//! Apply conflict markers to obtain the original file contents. //! Apply conflict markers to obtain the original file contents.
//! //!
//! https://git-scm.com/docs/git-merge#Documentation/git-merge.txt-mergeconflictStyle //! <https://git-scm.com/docs/git-merge#Documentation/git-merge.txt-mergeconflictStyle>
use ConflictState::*; use ConflictState::*;

@ -272,7 +272,7 @@ impl<'s, 'b> Vertex<'s, 'b> {
/// at least a NovelFoo edge. Depending on the syntax nodes of the /// at least a NovelFoo edge. Depending on the syntax nodes of the
/// current [`Vertex`], other edges may also be available. /// current [`Vertex`], other edges may also be available.
/// ///
/// See [`neighbours`] for all the edges available for a given `Vertex`. /// See [`set_neighbours`] for all the edges available for a given `Vertex`.
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum Edge { pub enum Edge {
UnchangedNode { UnchangedNode {

@ -15,7 +15,7 @@ use super::syntax;
use super::syntax::MatchedPos; use super::syntax::MatchedPos;
/// A language may contain certain nodes that are in other languages /// A language may contain certain nodes that are in other languages
/// and should be parsed as such (e.g. HTML <script> nodes containing /// and should be parsed as such (e.g. HTML `<script>` nodes containing
/// JavaScript). This contains how to identify such nodes, and what /// JavaScript). This contains how to identify such nodes, and what
/// languages we should parse them as. /// languages we should parse them as.
/// ///