Unverified Commit 9da12910 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

Turbopack: Fix accidental doctest in globset module license (#82127)

The code block syntax in a documentation comment is interpreted as a doctest: https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html

Tested with:

```
cargo test -p turbo-tasks-fs
```
parent 14be7505
...@@ -2,18 +2,17 @@ ...@@ -2,18 +2,17 @@
/// After discussing upstreaming our usecase with the authors of `globset`, we decided that a /// After discussing upstreaming our usecase with the authors of `globset`, we decided that a
/// fork was appropriate given our divergent usecases. See discussion https://github.com/BurntSushi/ripgrep/issues/3049 /// fork was appropriate given our divergent usecases. See discussion https://github.com/BurntSushi/ripgrep/issues/3049
/// The original code had the following license: /// The original code had the following license:
/// ```
/// The MIT License (MIT)
/// ///
/// Copyright (c) 2015 Andrew Gallant /// > The MIT License (MIT)
/// /// >
/// Permission is hereby granted, free of charge, to any person obtaining a copy /// > Copyright (c) 2015 Andrew Gallant
/// of this software and associated documentation files (the "Software"), to deal /// >
/// in the Software without restriction, including without limitation the rights /// > Permission is hereby granted, free of charge, to any person obtaining a copy
/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell /// > of this software and associated documentation files (the "Software"), to deal
/// copies of the Software, and to permit persons to whom the Software is /// > in the Software without restriction, including without limitation the rights
/// furnished to do so, subject to the following conditions: /// > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/// ``` /// > copies of the Software, and to permit persons to whom the Software is
/// > furnished to do so, subject to the following conditions:
/// ///
/// Here it has been heavily modified to: /// Here it has been heavily modified to:
/// - Eliminate various configuration options we don't need /// - Eliminate various configuration options we don't need
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment