chore: remove repetitive words

Signed-off-by: soonsouth <cuibuwei@163.com>
This commit is contained in:
soonsouth 2024-03-15 23:48:10 +08:00 committed by Tom Schuster
parent fc8f4ef4cf
commit abf7d3fa20
5 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@ struct MovieClipReferenceData<'gc> {
path: MovieClipPath<'gc>,
/// A weak reference to the target stage object that `path` points to
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the the target object is renamed)
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the target object is renamed)
/// If this is `None` then we have previously missed the cache, due to the target object being removed and re-created, causing us to fallback to the slow path resolution
cached_stage_object: Lock<Option<GcWeakCell<'gc, StageObjectData<'gc>>>>,
}

View File

@ -185,7 +185,7 @@ impl<'gc> Namespace<'gc> {
{
api_version = ApiVersion::VM_INTERNAL;
}
// In avmplus, this conversion is done later in in 'getValidApiVersion'
// In avmplus, this conversion is done later in 'getValidApiVersion'
// However, there's no reason to hold on to invalid API versions for the
// current active series (player runtime), so let's just do the conversion immediately.
api_version =

View File

@ -2445,7 +2445,7 @@ impl<'gc> Loader<'gc> {
if url.scheme() == "file" {
Loader::load_error_swf(mc, uc, url.to_string());
} else {
// Replacing the movie sets total_frames and and frames_loaded correctly.
// Replacing the movie sets total_frames and frames_loaded correctly.
// The movie just needs to be the default empty movie with the correct URL.
// In this loading state, the URL is the URL of the parent movie / doesn't change.

View File

@ -29,7 +29,7 @@ impl Color {
/// The byte-ordering of the 32-bit `rgb` value is XXRRGGBB.
/// The most significant byte, represented by XX, is ignored;
/// the `alpha` value is provided separately.
/// This is followed by the the red (RR), green (GG), and blue (BB) components values,
/// This is followed by the red (RR), green (GG), and blue (BB) components values,
/// respectively.
///
/// # Examples

View File

@ -198,7 +198,7 @@ impl VideoDecoder for Vp6Decoder {
let v = &yuv[offsets.2..offsets.2 + chroma_width * chroma_height];
// Cropping the encoded frame (containing whole macroblocks) to the
// size requested by the the bounds attribute.
// size requested by the bounds attribute.
let &bounds = &self.bounds;