summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-05-02 23:51:30 +0200
committerMiguel Ojeda <ojeda@kernel.org>2025-05-27 20:09:59 +0200
commit2d6c87d0d6a0c0acf6b4dd9eec9ed44a82886836 (patch)
treed4d3d52fc4dfc1ef186cfc2387b2ef6cc7fc69cb /scripts/lib/kdoc/kdoc_output.py
parent1486554392e242da5cbe95092d8dfec887bb8cca (diff)
rust: str: take advantage of the `-> Result` support in KUnit `#[test]`'s
Since now we have support for returning `-> Result`s, we can convert some of these tests to use the feature, and serve as a first user for it too. Thus convert them, which allows us to remove some `unwrap()`s. We keep the actual assertions we want to make as explicit ones with `assert*!`s. Reviewed-by: David Gow <davidgow@google.com> Acked-by: Danilo Krummrich <dakr@kernel.org> Link: https://lore.kernel.org/r/20250502215133.1923676-6-ojeda@kernel.org [ Split the `CString` simplification into a new commit. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions