[librsvg] node: fix comment
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] node: fix comment
- Date: Sat, 4 Apr 2020 21:20:01 +0000 (UTC)
commit e22c496e9f158fb52208fafd250b3de03222fbc6
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Apr 4 23:09:18 2020 +0200
node: fix comment
rsvg_internals/src/node.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index 856ac24d..8b53a49f 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -65,7 +65,7 @@ pub type WeakNode = rctree::WeakNode<NodeData>;
/// ## Accessing the node's contents
///
/// Code that traverses the DOM tree needs to find out at runtime what
-/// each node stands for. First, use the `get_type` or `is_element`
+/// each node stands for. First, use the `is_chars` or `is_element`
/// methods from the `NodeBorrow` trait to see if you can then call
/// `borrow_chars`, `borrow_element`, or `borrow_element_mut`.
pub enum NodeData {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]