@@ -175,7 +175,7 @@ const FORBIDDEN: &[(&str, &str)] = &[
175175 "resolves an imported module by reading a file" ,
176176 ) ,
177177 // Every other way of getting an engine. `Engine::default` is `Engine::new`
178- // (rhai 1.26.1, `src/engine.rs`) , so it arrives carrying the file-reading
178+ // in Rhai , so it arrives carrying the file-reading
179179 // resolver under a name the guard below does not read; the raw pair arrives
180180 // without one, which is safe but equally unread. Leaving one spelling is
181181 // what lets the guard speak for every engine this crate builds.
@@ -752,8 +752,8 @@ fn the_source_sweep_reads_an_import_however_it_is_wrapped() {
752752///
753753/// With the default features this workspace pins, a new engine carries a
754754/// `FileModuleResolver`, which opens whatever path an `import` statement names,
755- /// and a print and a debug handler that are `println!` (rhai 1.26.1,
756- /// `src/engine.rs:305-318`). The resolver turns an editor into a file reader
755+ /// and print and debug handlers that write to standard output. The resolver
756+ /// turns an editor into a file reader
757757/// driven by an author's own text; the other two put author-controlled text on
758758/// the file descriptor the editor's JSON-RPC conversation runs over. Nothing in
759759/// this crate asks for a module or evaluates a program today, but "nothing asks
@@ -1179,7 +1179,7 @@ fn the_lint_disallows_the_engine_and_every_way_of_running_one() {
11791179fn the_source_sweep_reads_prose_as_prose ( ) {
11801180 // The comment above `parser` names the handler an engine arrives with,
11811181 // because saying which one is the point of it.
1182- assert ! ( refusals( "/// arrives carrying `println!` (rhai 1.26.1) " ) . is_empty( ) ) ;
1182+ assert ! ( refusals( "/// arrives carrying `println!` in Rhai " ) . is_empty( ) ) ;
11831183 assert ! ( refusals( "// let bytes = fs::read(path)?;" ) . is_empty( ) ) ;
11841184 // A comment at the end of a line does not cover the line.
11851185 assert ! ( !refusals( "let bytes = fs::read(path)?; // the hazard" ) . is_empty( ) ) ;
0 commit comments