Update error.rs

This commit is contained in:
Shunsuke Shibayama 2023-03-10 13:29:12 +09:00
parent 0744c35517
commit f0713c9a60

View file

@ -556,8 +556,8 @@ pub struct SubMessage {
impl SubMessage { impl SubMessage {
/// ///
/// Used when the msg or hint si empty. /// Used when the msg or hint is empty.
/// `msg` is Vec\<String\> instead of Option\<String\> because it can be used when there are multiple `msg`s as well as multiple lines. /// `msg` is type of `Vec<String>` instead of `Option<String>` because it can be used when there are multiple `msg`s as well as multiple lines.
/// # Example /// # Example
/// ``` /// ```
/// # use erg_common::error::{Location, SubMessage}; /// # use erg_common::error::{Location, SubMessage};