Skip to content

Commit d21e8c0

Browse files
committed
correct is_this_format document
1 parent 52145d7 commit d21e8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scripts/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub trait ScriptBuilder: std::fmt::Debug {
108108
/// Checks if the given filename and buffer match this script format.
109109
/// * `filename` - The name of the file to check.
110110
/// * `buf` - The buffer containing the script data.
111-
/// * `buf_len` - The length of the buffer.
111+
/// * `buf_len` - The length of the valid data in the buffer (it MUST <= buf.len()).
112112
///
113113
/// Returns a score (0-255) indicating how well the format matches.
114114
/// A higher score means a better match.

0 commit comments

Comments
 (0)