mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
Update error.rs
This commit is contained in:
parent
0744c35517
commit
f0713c9a60
1 changed files with 2 additions and 2 deletions
|
@ -556,8 +556,8 @@ pub struct SubMessage {
|
|||
|
||||
impl SubMessage {
|
||||
///
|
||||
/// Used when the msg or hint si 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.
|
||||
/// Used when the msg or hint is empty.
|
||||
/// `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
|
||||
/// ```
|
||||
/// # use erg_common::error::{Location, SubMessage};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue